Determines the number of specific message parts in the collection.
procedure CountParts;
Description
CountParts is procedure that Determines the number of specific message parts in the collection, and updates the TextPartCount, AttachmentCount, and RelatedPartCount properties to indicate the calculated values.