To find the number of paragraphs in a Text object named IntroText and to store the return value in a variable named NumParas, use the following syntax:
NumParas = IntroText.GetParagraphCount();