Changed CounterModel constructor to take counter name parameter