Return the total number of headers, including duplicates.
email.message/EmailMessage.__len__
EmailMessage.__len__