ModelBundle/Repository/ContentRepository.php
public function countWithFilterAndContentTypeSiteAndLanguage(PaginateFinderConfiguration $configuration, $contentType, $siteId, $language, array $searchTypes = array())
    {
        return $this->countInContextByContentTypeSiteAndLanguage($contentType, $siteId, $language, $configuration, $searchTypes);
    }
public function countWithFilterAndContentTypeSiteAndLanguage(PaginateFinderConfiguration $configuration, $contentType, $siteId, $language, array $searchTypes = array())
    {
        return $this->countInContextByContentTypeSiteAndLanguage($contentType, $siteId, $language, $configuration, $searchTypes);
    }
@param PaginateFinderConfiguration $configuration
@param string                      $contentType
@param string                      $siteId
@param string                      $language
@param array                       $searchTypes

@return int