/** * Counts all associated NarroTextCommentsAsUser * @return int */ public function CountNarroTextCommentsAsUser() { if (is_null($this->intUserId)) { return 0; } return NarroTextComment::CountByUserId($this->intUserId); }