DB2: count different tests + sendmail