code: def get_counter(self, key, **kwargs):
          
          return self._client.get_counter(self, key, **kwargs)
docs: Gets the value of a counter stored in this bucket. See
          :meth:`RiakClient.get_counter()
          <riak.client.RiakClient.get_counter>` for options.
  
          .. deprecated:: 2.1.0 (Riak 2.0) Riak 1.4-style counters are
             deprecated in favor of the :class:`~riak.datatypes.Counter`
             datatype.
  
          :param key: the key of the counter
          :type key: string
          :rtype: int