code: def follow_stats(self, index, params=None):
          
          if index in SKIP_IN_PATH:
              raise ValueError("Empty value passed for a required argument 'index'.")
          return self.transport.perform_request(
              "GET", _make_path(index, "_ccr", "stats"), params=params
          )
docs: `<https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-follow-stats.html>`_
  
          :arg index: A comma-separated list of index patterns; use `_all` to
              perform the operation on all indices