Multi-Line TextBox: count lines?

Is there some sort of property to count the amount of lines a multi-line textbox has? Or do I really have to retrieve the text, cast it to a FString and then manually search how many line-break characters it has?