added display of error count.