pub fn count_tool(logs: &[String], tool_name: &str) -> usize
Count occurrences of a tool in log lines.