docs: def get_counter(self, transport, bucket, key, r=None, pr=None,
                      basic_quorum=None, notfound_ok=None):
          """get_counter(bucket, key, r=None, pr=None, basic_quorum=None,\
                         notfound_ok=None)
  
          Gets the value of a counter.
  
          .. deprecated:: 2.1.0 (Riak 2.0) Riak 1.4-style counters are
             deprecated in favor of the :class:`~riak.datatypes.Counter`
             datatype.
  
          .. note:: This request is automatically retried :attr:`retries`
             times if it fails due to network error.
  
          :param bucket: the bucket of the counter
          :type bucket: RiakBucket
          :param key: the key of the counter
          :type key: string
          :param r: the read quorum
          :type r: integer, string, None
          :param pr: the primary read quorum
          :type pr: integer, string, None
          :param basic_quorum: whether to use the "basic quorum" policy
             for not-founds
          :type basic_quorum: bool
          :param notfound_ok: whether to treat not-found responses as successful
          :type notfound_ok: bool
          :rtype: integer
  
          """
          return transport.get_counter(bucket, key, r=r, pr=pr)