/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffect.h
Returns the total number of gameplay effects. NOTE this does include GameplayEffects that pending removal. Any pending remove gameplay effects are deleted at the end of their scope lock
int32 GetNumGameplayEffects() const