Failed SMS(es) and Email(s) will not be counted to the total SMS/Email quantity entitled.
To find out what counts as a failed SMS or an Email, please proceed to the respective links here.
Also, knowing your subscription plan will inform you of the number of Emails and SMSes you are entitled to, so do check how many SMSes/emails your organisation is entitled to.