Variable counter for everytime excel writer writes

Hi,

I am working on a flow, where I use quite a lot of excel writers and I would like to use a variable counter to use for naming. So for example everytime an excel writer writes some data, the counter needs to update so 1,2,3 etc.

I am new to using loops and I can’t seem find the right nodes to use.

Additionally, how do I ensure that the counting sequence is the same across all executions? So an excel file called tax1 isn’t suddenly called tax3 on the next execution.