/** * Counts all associated ParentPagerChildHistoriesAsPickupBy * @return int */ public function CountParentPagerChildHistoriesAsPickupBy() { if (is_null($this->intId)) { return 0; } return ParentPagerChildHistory::CountByPickupByParentPagerIndividualId($this->intId); }