/** * Counts all associated FormAnswers * @return int */ public function CountFormAnswers() { if (is_null($this->intId)) { return 0; } return FormAnswer::CountByFormQuestionId($this->intId); }