/** * Counts all associated FormQuestions * @return int */ public function CountFormQuestions() { if (is_null($this->intId)) { return 0; } return FormQuestion::CountBySignupFormId($this->intId); }