GtkTextBuffer::get_line_count

int get_line_count();