correcting counting

in dict