def __len__(self):
ret = <NUM_LIT:0><EOL>for t in self.__has:<EOL><INDENT>ret += t[<NUM_LIT:1>] - t[<NUM_LIT:0>]<EOL><DEDENT>return ret<EOL>
Length of object.

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