/** * Gets photos count by their album id * * @param string $albumId * @return integer */ public function getCountByAlbumId($albumId) { return $this->photoMapper->countAllByAlbumId($albumId); }