Fix Pager computeNbResult

Trying to get result from QueryBuilder instead of Query