fn count(input: &str) -> (usize, usize)