code: def count(self, *args, **kw):
          
          obj = args[0]
          if self.method_name in obj._memo:
              self.hit = self.hit + 1
          else:
              self.miss = self.miss + 1
docs: Counts whether the memoized value has already been
              set (a hit) or not (a miss).