added functionality to display the number of points that a post has