Statistics function

Hello everyone, please help me with this problem about the statistics function. I made the simulation about the robot palletizer but i do not know how to make a statistics report the number of boxes the robot picked and placed on the pallet, how many full pallet the robot completed with a cylce of palletizing.
Many thanks.

You could track the statistics parts exited property from the conveyors where the boxes and pallets are moving.