pub fn ltrim_char_count(slc: &[u8], c: u8) -> usize
Count the number of leading characters equal to a given value.