/** * Counts all associated AuditsAsModifiedBy * @return int */ public function CountAuditsAsModifiedBy() { if (is_null($this->intUserAccountId)) { return 0; } return Audit::CountByModifiedBy($this->intUserAccountId); }