Add missing counter.

Forgot to add the variable definition.