levelOfComponentsInCollection
Calculate the level of the target Component/Section. The level here means how many bracket pairs are needed to break until reaching the component type. For example, the level of List
Return
the level of the target component, or 0 if the target isn't a component.