I have an enormous set of data about people store in a nested dictionary.
The outer dictionary has the key is the name of a person and the value is another dictionary contains all information about that person (features, such as email, phone, number, salary, ...). The inner dict keys are the features names (so 'email' and so on), and the value is the value of the feature (so 'abcde@gmail.com'
).
I know that all people have the same number of features. How can I count how many features there are?
When I do this, I only get the number of people:
print(len(enron_data))