Counter for each loop on screen

Hello people! some time ago, I saw a xaml that counted a for each row and that count appeared on the screen while the process was running. Does anyone remember or have any ideas for me to control on the screen how the process is going? Thank you!

have a look on the for each row activity on properties /configuration panel to Output
here you can define an index / loop counter variable

If you use Step Into or other debug features, you can pause the process and change local variables in the Locals or Watch panels, even mid-process. To see it as it’s going in general, you can use the Slow Step feature, which will highlight each activity slowly to show each step of the process.