hasLineCount

Asserts the char sequence has the expected number of lines.