new counter was the value not changing

it always stayed at 0 every time i logged the value. i tried adding a
getter and setter? thinking maybe that would change it. it didn't work.