Fixed mapreduce and message counting
Message counting on the "Send" page