get total number of values in a nested dictionary `food_colors`,sum(len(x) for x in list(food_colors.values()))