URigHierarchy::GetNumberOfParents

Returns the number of parents of an element