Routing should not just bail out of execute() if routing is enabled, but no routes are defined. Now fixed, this backs out the count() change introduced in 32bd8462355388aedf8e8e259d6da1fd2322a906 (that's from the middle ages!) which apparently was for efficiency only; added a missing var declaration to prevent the notice and subsequent error that would otherwise occur. Closes #703