add the hit counter function to blog