Added a size() method to CounterMap