Changing the condition tells the loop when to stop. For example, changing the condition to counter < 10.

Make sure to type counter < 10.