Fixed sent/received count and replaced wc -l with -c

Original script was broken and reported all emails as sent.

Also, `grep | wc -l` is pure evil.