I have a step that I call with 10 number of copies. With each result, I'd like to increment a variable.

Is it possible to somehow create a transformation specific lock to use when each result is incrementing the variable?