code: func readingCountHandler(w http.ResponseWriter, r *http.Request) {
  	defer r.Body.Close()
  
  	switch r.Method {
  	case http.MethodGet:
  		count, err := countReadings()
  		if err != nil {
  			http.Error(w, err.Error(), http.StatusInternalServerError)
  			return
  		}
  
  		w.WriteHeader(http.StatusOK)
  		_, err = w.Write([]byte(strconv.Itoa(count)))
  		if err != nil {
  			LoggingClient.Error(err.Error())
  		}
  	}
  }
docs: // Return a count for the number of readings in core data
  // api/v1/reading/count