Counting with a global variable.

0