/** * Counts all associated OtherContactInfos * @return int */ public function CountOtherContactInfos() { if (is_null($this->intId)) { return 0; } return OtherContactInfo::CountByPersonId($this->intId); }