(count(left) && constant_int(right).is_some()) || (count(right) && constant_int(left).is_some())
fn guarded_count(expr: &Expr, asserted: bool, symbols: &SymbolTable) -> Option<RuleEffect> {
/// Preserve numeric equality and comparison, including nested Boolean uses, for library encoding.