/Engine/Plugins/Runtime/ReplicationGraph/Source/Public/ReplicationGraphTypes.h
Tracks a class and all of its children (under a single stat set). This will be a little slower (TMaplookup) but still probably ok if used in moderation (only track your top 3 or so classes)
void SetImplicitClassTracking ( [UClass](API\Runtime\CoreUObject\UObject\UClass) * BaseActorClass, const [FString](API\Runtime\Core\Containers\FString) & StatNamePrefix )