How can I add a quantity breakdown to my packing slip?

I am trying to add the quantity breakdown into the packing slip. So if I have a product with options with size Small Medium and Large, it will be able show each category and the quantity of each for each item.