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