pub fn wordcount<T>(s: T) -> Result<usize, Error> where
    T: Display
Expand description

Count the words in that string