Add counters for the number of unhandled errors