Including Block/Loop Number in Text

I have a conditions spreadsheet with paths to 32 video files (32 trials) and other information (presented on left/right, duration, etc.). The trials occur in an inner loop with a routine for the stimuli and a routine for the response. After 32 trials, the participant can take a break. This break is in an outer loop that repeats 8 times (8 blocks). I want to display “Round: x/8” on each break.

I think I managed to get some code working, based on the last post in this thread: Use thisRepN correct - Online experiment created with builder. I can at least get past “initializing the experiment”. The issue seems to arise from using a variable in the text component. So I haven’t actually been able to display this information yet to check if the code is working.