Repeat block, one action, n - number of times!
Example: 10 times assign a new value to the W variable (W + 1) and send the port monitor to the serial.
After 10 repetitions, assign the new value 0 to the W variable.
Sample program:
Download example: file.ardublock | Open Online ArduBlock
Video: