title: Return count in result with doctrine paginator
body: <p>Is it possible to return the total count along with the results ? 
  Currently using this DQL query to get my array results but I also need to return a total count with each result. </p>
  
  <pre><code>   $dql = "SELECT a, a.id, a.status, a.departDate, a.flightNum, a.departHour, a.arrivedHour, a.convocHour, a.convocPlace, a.customerPax, a.customerNote, a.providerPax,a.providerNote
      FROM AppBundle:Assistance a GROUP BY a.id";
      $query = $this-&gt;getEntityManager()-&gt;createQuery($dql)
          -&gt;setFirstResult($skip)
          -&gt;setMaxResults($take);
      $paginator = new Paginator($query, $fetchJoinCollection = true);
  
      $c = count($paginator);
  
      dump($paginator-&gt;getIterator()-&gt;getArrayCopy());
  
      return $paginator-&gt;getIterator()-&gt;getArrayCopy();
  </code></pre>