code: func GetOrRegisterCounter(name string, r Registry) Counter {
  	if nil == r {
  		r = DefaultRegistry
  	}
  	return r.GetOrRegister(name, NewCounter).(Counter)
  }
docs: // GetOrRegisterCounter returns an existing Counter or constructs and registers
  // a new StandardCounter.