Class CounterFactory