The French lost over 17,000 men, killed or wounded, with 21,000 captured