pub fn count_occurrences(expr: &Expr, target: &Expr) -> usize
Count the total number of occurrences of a sub-expression in another.