code: def scanned(self):
          
          if self.request["Select"] == "COUNT":
              while not self.exhausted:
                  next(self, None)
          return self._scanned
docs: Number of items that DynamoDB evaluated, before any filter was applied.