I don’t understand what you mean by str() doesn’t work with a dictionary. Sure it requires that the key be a string but you can convert a number into a string with the str() expression and it’s happy. And I’m not just saying that, I’ve done it a lot.
Wait I'm confused, I did what you're saying, the value is just never increasing, no matter what I do, it says 0.