/** * Counts all associated IssueFieldValues * @return int */ public function CountIssueFieldValues() { if (is_null($this->intId)) { return 0; } return IssueFieldValue::CountByIssueFieldId($this->intId); }