correct error count in parser summary