Added counters to collection, tests, use binary formatter.