Hello all. I was attempting to find the number of indexes in a dictionary, but it is not working. Shown below, there is clearly one index that is called “Sleeping” in there, which should show that there is one index.
However, when I attempt to print the number of indexes in it, it shows as 0 and not 1. I’m confused on what I’m doing wrong, and any help is greatly appreciated. Thank you.