pub fn count_aggregates(stmt: &Statement) -> usize
Count the number of aggregate functions in a statement.