Update equations.js

fixed eqNum() ... added "return count;"