Integer increments by 1 loop

Hi everyone - I am new at Katalon and trying to find my way through.
I am only using the Chrome addon of Katalon for now.
What I’m trying to do is a simple sprit that every time is executed adds 1 to an integer and store that value for the next increment loop.
See attached screenshot for reference


If you go to Templates > Conditional and loops, there’s a template that does exactly what you need. Let me know if that helps.

Thank you so much!!!