code: def __init__(self, annex):  # , availability=DEFAULT_AVAILABILITY):
      super().__init__(annex)
      # TODO self.info = {}, self.configs = {}
  
      # OPT: a counter to increment upon successful encounter of the scheme
      # (ATM only in gen_URLS but later could also be used in other
      # requests).  This would allow to consider schemes in order of
      # decreasing success instead of arbitrary hardcoded order
      self._scheme_hits = Counter(
          {s: 0 for s in self.SUPPORTED_SCHEMES}
      )
  
file_path: datalad/datalad/customremotes/base.py
imports: from __future__ import absolute_import
  import logging
  from collections import Counter
  from annexremote import RemoteError, UnsupportedRequest
  from datalad.customremotes import SpecialRemote
label_desc: Use image node_id 1 to create a new AnnexCustomRemote object from inherited base classes: SpecialRemote with example: obj = AnnexCustomRemote(annex)