int imap_num_msg ( resource $imap_stream )
Gets the number of messages in the current mailbox.
Return the number of messages in the current mailbox, as an integer.