Fix counter not displaying on heroku