Updated /msgcount command.
Fix message encryption error. The length being checked was owned by the wrong variable.