Added attribute to display a custom number of paragraphs