Infinite Loop

Hi
I have such a blueprint and I have a problem with endless loops
Can someone help me determine where I have the error or how to set the laser to reflect only, for example, 100 times to avoid this loop?

Put a counter in. Add one each time around the loop, when it gets to 100, exit.