why is there an error in my counter method?

Printable View