ENgetnumdemands function

Get number of demands for a junction node