def __len__(self):
        """!
        @brief (uint) Returns size of LEGION.
        
        """
        
        if (self.__ccore_legion_pointer is not None):
            return wrapper.legion_get_size(self.__ccore_legion_pointer);
        
        return self._num_osc;
def __len__ ( self ) : if ( self . __ccore_legion_pointer is not None ) : return wrapper . legion_get_size ( self . __ccore_legion_pointer ) ; return self . _num_osc ;
!
        @brief (uint) Returns size of LEGION.