URigHierarchy::GetLocalIndex

Returns the index of an element given its key within its default parent (or root)