def __len__(self):

        """
        Length of object.

        Returns
        -------
        ret : int
            Sum of subranges lengths.
        """

        ret = 0
        for t in self.__has:
            ret += t[1] - t[0]

        return ret
dataset/ETHPy150Open rasguanabana/ytfs/ytfs/range_t.py/range_t.__len__/original