code: func (l *State) Stats() map[string]string {
  	l.RLock()
  	defer l.RUnlock()
  
  	services := 0
  	for _, s := range l.services {
  		if s.Deleted {
  			continue
  		}
  		services++
  	}
  
  	checks := 0
  	for _, c := range l.checks {
  		if c.Deleted {
  			continue
  		}
  		checks++
  	}
  
  	return map[string]string{
  		"services": strconv.Itoa(services),
  		"checks":   strconv.Itoa(checks),
  	}
  }
docs: // Stats is used to get various debugging state from the sub-systems