Obtains the number of lines in the buffer.
This value is cached, so the function is very fast.
a `GtkTextBuffer`
number of lines in the buffer