public long Count() { if (!ZingerConfiguration.FrontierToDisk) return InMemoryNextGlobalFrontier.LongCount(); else return counter; }