pub fn count_severities(findings: &[Finding]) -> (usize, usize)
Count errors and warnings in one pass.