To count the number of loops in sequencer you need a variable and the calculation block.
Go to settings tab in the sequencer and add the variable with + button:
To change the value of the variable, use the calculation block and add formula as shown on the picture
('NumberOfCycles' = 'NumberOfCycles' +1 ).
To show the variable, it is possible to put the name in any of the blocks and it will be shown on top of the screen when that block is performed.