Fix Pager computeNbResult

Trying to get result from QueryBuilder instead of Query
Merge pull request #358 from netounet/patch-1

Fix Pager computeNbResult