What's the chances of getting a copy of your SpamCount.sh file?
I got it from wiki page and create a shell. It´s here:
[root@andorinha ~]# cat SpamCount.sh
if [ -z $DAYS ]; then DAYS=1; fi; echo -n "Days of logfiles to scan [$DAYS]: "; read NEWDAYS; if [ $NEWDAYS ]; then DAYS=$NEWDAYS; fi; awk -F"[\t]" ' /logterse/ { svc=$6; count[svc]++; count["Total"]++; } END { for (j in count) print count[j] "\t" j "\t" expr count[j]/count["Total"]*100"%" ; }' $(find /var/log/qpsmtpd /var/log/sqpsmtpd -ctime -$DAYS -type f) |sort -n