code: func (h *HookStats) GetTotalHooks() int {
  	if h == nil || h.TotalHooks == nil {
  		return 0
  	}
  	return *h.TotalHooks
  }
docs: // GetTotalHooks returns the TotalHooks field if it's non-nil, zero value otherwise.