/** * Returns the number of records matching the query. * * @param Tx_Extbase_Persistence_QueryInterface $query * @return integer * @api */ public function getObjectCountByQuery(Tx_Extbase_Persistence_QueryInterface $query) { return $this->storageBackend->getObjectCountByQuery($query); }