Added miscellaneous error counters

Verified existing tests and metrics output.