diff --git a/src/Pagination/Paginator.php b/src/Pagination/Paginator.php
index <HASH>..<HASH> 100644
--- a/src/Pagination/Paginator.php
+++ b/src/Pagination/Paginator.php
@@ -128,6 +128,7 @@ class Paginator extends AbstractSettablePaginator
     protected function getPagesCount()
     {
         $query = $this->getQueryBuilder()->getQuery();
+        $query->useResultCache($this->useCache, $this->cacheLifetime);
 
         $hasGroupBy = 0 < count($this->getQueryBuilder()->getDQLPart('groupBy'));
Use ResultCache for count too