def nreturned(self):
        """
        Extract counters if available (lazy).

        Looks for nreturned, nReturned, or nMatched counter.
        """
        if not self._counters_calculated:
            self._counters_calculated = True
            self._extract_counters()

        return self._nreturned
def nreturned ( self ) : if not self . _counters_calculated : self . _counters_calculated = True self . _extract_counters ( ) return self . _nreturned
Extract counters if available (lazy).

        Looks for nreturned, nReturned, or nMatched counter.