Changing the counter variable's value changes when the loop starts. Like setting counter to 5.

Make sure to type 5.