Add errors count to the output.