Hello @bootstrapper ,
you can follow these steps:
1. When a row is modified (don't care about the "Contact" table, it's an example):

2. Initialize an Integer variable and put 0:

3. Add a "Do Until" control: it will repeat the same actions until the variable raise the value entered by the user in the form (the field in the form must be integer type, otherwise you should use the expression "int" to convert the string in integer):

as final action within the "Do until" control, increment the variable with "1".
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
BR,
Marco