add post count to posts page