A lot of time when this happens to me it is because I am trying to print something that might look like a dictionary but it is not an actual Python dictionary so just convert it to a dict like pprint(dict(count))
pprint(dict(count))