Return the number of messages available on the server.
Syntax
object.MessageCount
Remarks
The MessageCount property returns the number of messages
available to be retrieved from the mail server. When a message is
deleted from the mailbox, this value will decrease. To determine the
highest valid message number, regardless of any deleted messages, use
the LastMessage property.