def __len__(self):
        if not self._value:
            if self.default is None:
                return 0
            else:
                if isinstance(self.default, (list, tuple)):
                    return len(self.default)
                return 1
        c = 0
        for v in self._value:
            if self._index < 0:
                c += len(v) if isinstance(v, Option) else 1
            else:
                c += 1
        return c
Splits an array into multiple sub arrays horizontally.
dataset/ETHPy150Open thasso/pyjip/jip/options.py/Option.__len__--crossover with--dataset/ETHPy150Open pfnet/chainer/cupy/manipulation/split.py/hsplit