(function from pyomo.contrib.viewer.report)
pyomo.contrib.viewer.report
Count free variables that are in active equality constraints. Ignore inequalities, because this is used in the degrees of freedom calculations