Returns the number of lines in the edit control.
Call this function to retrieve the number of lines in the edit control. This value corresponds to the number of '\n' symbols in the text.