Any message sent counts toward your Campaign contract quota for unique contacts. This includes messages that fail delivery due to an unreachable number or an invalid number. You may review the number of unique contacts by accessing the Quotas and Accounts > Contract Limits page in your admin console. 

Only Administrator-level users have access to the Contract Limits page.