/Engine/Source/Runtime/CoreUObject/Public/Serialization/TextReferenceCollector.h
Counts all persistent text references from within a package, using the specified comparison mode
class FTextReferenceCollector