code: def weighted_n(self):
          
          if not self.is_weighted:
              return float(self.unweighted_n)
          return float(sum(self._cube_dict["result"]["measures"]["count"]["data"]))
docs: float count of returned rows adjusted for weighting.