your conclusion is not wrong but using "cout" is wrong here, because it just counts the occurences in the data table, 1 order per day or 69420 orders would both result in the count of 1. what you are showing is "number of days on which any number of pizzas were ordered, per category"
what you should be using instead is "sum" or one of the averages, like mean or median