Adding error count