Hi
During your Flow execution CurrentCounter variable is never modified, right? Which expression are you using to initialize it?
Also... the Apply to Each input is Geat Team members output, right?
Not sure what's the purpose of having the condition inside the Apply to Each... did you try to move it outside, just before Get Team member info?
If you keep it inside the Apply to each, you will be iterating N times (the same number of members your team has) so NextCounter always takes the same value
Hope this helps