This is just a little snippet of code I wrote to count the number of hits on a specific page. I only wanted it to work on single post pages…