Update html.php

Fixed another bug in JHTML, this one fixes countMenuChildren() so that it actually returns the correct value (rather than always zero) by setting the query properly