add hit counter