textObject.GetParagraphCount()
An integer indicating the number of paragraphs in the specifed Text object.
This function returns the number of paragraphs in a specifed Text object. The number is equal to the number of carriage returns entered in the text box. A carriage return is inserted every time you hit the Enter/Return key on your key board. Therefore, if you have two paragraphs with a single blank line separating them, the number returned with this function will be 3 because a carriage return is inserted on the blank line.