Fix ErrorListToErrorCount converter