gateinputcount(expr) counts the inputs of the logic gates (And, Or,
Xor, Not and ITE) in a boolean expression, as SymPy's
gateinputcount().
gateinputcount(expr) counts the inputs of the logic gates (And, Or,
Xor, Not and ITE) in a boolean expression, as SymPy's
gateinputcount().