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