/** * This method gets count of comments for specific pageID * @param $pageID * @return int value that is the count of comments */ public function getCommentCount($pageID) { $commentDAO = new CommentDAO(); return $commentDAO->getCommentsCountInDB($pageID); }