I understand that it’s significantly more work to show the row count here, but I’m also not happy with the generic “Are you sure?” message. I’d suggest something like this instead:
You’re about to email invites to everyone in the uploaded file.
Go ahead cancel