Dictionary counters added and reset functions