pub fn line_count(text: &str) -> usize
Count the newline-terminated lines of a text, as wc -l does.
wc -l