UAbilitySystemBlueprintLibrary::GetActiveGameplayEffectTotalDuration

Returns the total duration for a given GameplayEffect