public function getContentfulEntriesCount(?Client $client = null, ?Query $query = null): int
    {
        $client = $client ?? $this->defaultClient;

        return count($client->getEntries($query));
    }
public function getContentfulEntriesCount(?Client $client = null, ?Query $query = null): int
    {
        $client = $client ?? $this->defaultClient;

        return count($client->getEntries($query));
    }
public function getContentfulEntriesCount ( ? Client $ client = null , ? Query $ query = null ) : int { $ client = $ client ?? $ this -> defaultClient ; return count ( $ client -> getEntries ( $ query ) ) ; }
Returns the count of Contentful entries.
Returns the count of Contentful entries .