pub(crate) fn required_hashes(s: &str) -> usize
Calculate the number of hashes required for a raw string containing s
s