Fix ItemCounter.