pub fn stats(text: &str) -> TextStats
Compute the full TextStats bundle for text.
TextStats
text
Empty input yields all-zero counts (and zero difficulty). The function is total: it never panics and allocates only for the temporary word list.