I forgot to change one line in the code that's why the counter didn't work
I forgot to change one line in the code