lineCount

Number of lines (1 for empty string, otherwise count of \n + 1).