Send proper "error metrics"

The total number of errors needs to be reported as a metric for newrelic to pick up a correct value of errors/minute.