show the number of posts of each category