Added counters for keys