Show produced items in statistics

Hello

what is the easiest way to show live in the statistics how many of which part have been produced?

I have 3 different parts that are stored in a buffer and I would like to know at any time how many of what have been produced.

Thank you very much