Finally, we add 1 to the counter variable each time it loops.
Exactly! It's the same way we added 1 in the while loop, only this time we are doing it inside the parentheses of the for loop.
Maybe we need to use i++ if we want to add 1 to the i variable?