def size(self):
        count = self.counter.value
        if count > len(self.values):
            return len(self.values)
        return count
dataset/ETHPy150Open cyberdelia/metrology/metrology/stats/sample.py/UniformSample.size/original