/** * Counts all associated NarroSuggestionVotesAsContext * @return int */ public function CountNarroSuggestionVotesAsContext() { if (is_null($this->intContextId)) { return 0; } return NarroSuggestionVote::CountByContextId($this->intContextId); }