I added an alternative solution to counter++