/** * Counts all associated NarroSuggestionVotesAsSuggestion * @return int */ public function CountNarroSuggestionVotesAsSuggestion() { if (is_null($this->intSuggestionId)) { return 0; } return NarroSuggestionVote::CountBySuggestionId($this->intSuggestionId); }