Remove unnecessary counter function

There was a counter function that was left over and didn't actually do anything at all.