pub fn count_words<'a>(contents: &'a str) -> usize