<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def _get_single_depth(self, multi_index):
        '''
        Helper method for determining how many single index entries there
        are in a particular multi-index
        '''
        single_depth = 0
        for subind in multi_index:
            if is_slice_or_dim_range(subind):
                break
            single_depth += 1
        return single_depth