How to count all elements in a nested dictionary?,sum(len(x) for x in list(food_colors.values()))