/Engine/Source/Editor/PropertyEditor/Public/IDetailsView.h
The number of visible top level objects. This value is affected by filtering. Note: this value will always be 1 if this details panel was not created with bAllowMultipleTopLevelObjects=true
int32 GetNumVisibleTopLevelObjects() const