def __len__(self):
        try:
            return len(self._trials)
        except __HOLE__:
            print >> sys.stderr, "You have to refresh before you compute len"
            raise
dataset/ETHPy150Open hyperopt/hyperopt/hyperopt/base.py/Trials.__len__