count the number of food items on the list