Using inboxcount instead of countmessages.