UKismetArrayLibrary::GetLastIndex

Helper function to get the last valid index of the array for error reporting, or 0 if the array is empty.