stat counter not working