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 517ab49611e560e79d20bd96ae1281407f57cfe3 (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 #779