/** * Returns comments count for entity item. * * @param integer $entityId * @param string $entityType * @return array */ public function findCommentCount($entityType, $entityId) { return (int) $this->commentDao->findCommentCount($entityType, $entityId); }