Add support for mailcheck to mailcount.sh