Counting the number of iterations in a repeat

A post was merged into an existing topic: Problem with index repeat