/Engine/Source/Runtime/Engine/Public/BoneContainer.h
Number of Bones in RefPose for current asset. This is NOT the number of bones in RequiredBonesArray, but the TOTAL number of bones in the RefPose of the current Asset!
const int32 GetNumBones() const