Update html.php

countMenuChildren can't return anything but zero, because the query is never set. This change sets it.