public function getCountTotalEntries()
    {
        if ($this->feeds->isEmpty()) {
            return 0;
        }

        /** @var FeedEntryRepository $feedEntryRepository */
        $feedEntryRepository = $this->em->getRepository('Phraseanet:FeedEntry');

        return $feedEntryRepository->countByFeeds($this->feeds->getKeys());
    }