code: def r(self):
          
          if not self._counters_calculated:
              self._counters_calculated = True
              self._extract_counters()
  
          return self._r
docs: Extract read lock (r) counter if available (lazy).