How to add a counter to a project?

Hi,
Is there any way to add a counter in a project. For example end of the process it will tell me how many document is processed.
Thank you.

Hi,

One of the simplest ways is to increment counter variable under the specific condition in your loop, as the following.

Regards,