XWIKI-10189: ORDER BY COUNT does not work with XWQL.

* Fix build.