How to set a count variable and increment that count in a repeat in Server Connect

I think this is highly likely because I am doing some stupid :D. But I cant figure out why this variable is not incrementing.

I have the following Server Connect:

However it only ever outputs 1 (the initial value 0 + 1). I assume this is to do with scope but becuase I have set the value out side of the repeat I assumed this would access it within that scope?

Any help would be appreciated thank you.

Community Page
Last updated: