Yes, just do

2
3
int value = runningcount[city];
runningcount[ city ] = ++value;