src/Sulu/Component/Rest/Listing/ListRepository.php
public function getCount($where = [], $joinConditions = [], $prefix = 'u')
    {
        return $this->find($where, $prefix, true, $joinConditions);
    }
public function getCount($where = [], $joinConditions = [], $prefix = 'u')
    {
        return $this->find($where, $prefix, true, $joinConditions);
    }
public function getCount ( $ where = [ ] , $ joinConditions = [ ] , $ prefix = 'u' ) { return $ this -> find ( $ where , $ prefix , true , $ joinConditions ) ; }
returns the amount of data.

@param array $where
@param array $joinConditions
@param string $prefix

@return int
returns the amount of data .