/Engine/Source/Editor/StaticMeshEditor/Public/StaticMeshEditorSubsystem.h
Get number of Materials for a StaticMesh
int32 GetNumberMaterials ( [UStaticMesh](API\Runtime\Engine\Engine\UStaticMesh) * StaticMesh )