Counter is a type of variable that increases or decreases its value by certain number.
Like C = C + 1, B = B - 1
A counter variable is used to count something that is usually initialized to zero and incremented in the body of a loop. They keep track or count the number of times a step is performed and they usually used to accumulate the sum of a given list of data items or numbers.