fixed counting pizzas in order