code: func (r *Repository) GetOpenIssuesCount() int {
  	if r == nil || r.OpenIssuesCount == nil {
  		return 0
  	}
  	return *r.OpenIssuesCount
  }
docs: // GetOpenIssuesCount returns the OpenIssuesCount field if it's non-nil, zero value otherwise.