pub fn count<P: AsRef<Path>>( path: P, max_depth: usize, exclude_patterns: &[Pattern], ) -> Result<(usize, usize, usize)>