Added post_count attribute

Added post_count attribute to set the number of posts to display