(function from pyomo.core.expr.visitor)
pyomo.core.expr.visitor
Return the number of nodes in the expression tree.
expr – The root node of an expression tree.
A non-negative integer that is the number of interior and leaf nodes in the expression tree.