def __len__(self):
    return min(len(self.sample), self.count)
Finds a (processing) level_id in the database.
dataset/ETHPy150Open Cue/scales/src/greplin/scales/samplestats.py/UniformSample.__len__--crossover with--dataset/ETHPy150Open GeoscienceAustralia/agdc/src/abstract_ingester/ingest_db_wrapper.py/IngestDBWrapper.get_level_id