Create a function that returns how many times it's been called previously. Do not use a global variable.
counter() ➞ 0 counter() ➞ 1 counter() ➞ 2
The first time it's called, the function should return 0.
0