Send total number of errors as part of metrics data