(function from pyomo.contrib.viewer.report)
pyomo.contrib.viewer.report
Count active equality constraints.