Adding to account page a total of what has been sold in a particular category?

Hi I have few different menu categories and i would like to add to the account page the amount that has been sold from a particular one is this possible?

so lets say you have:


I would like to know the total that has been sold in extras on the accounts screen on in a report.

thanks in advance for your help.