The Taliban, having a total force under six digits in 2001, had approximately 15,000 casualties during the initial invasion, compared to 12 US troops who died between October 2001 and March 2002. Of course, given the numerous militias and ragtag nature of the Taliban and its allies from 2001 onward, a reliable headcount is going to be difficult to obtain. However, the United States invaded with assistance from local militias opposed to the Taliban, along with over a dozen other countries and UN backing. (Granted, all of this dazzling success, 20 years on, was for naught, since the Taliban is now back in power with over $7 billion in US military tech to play with that got left behind.)
You're seriously comparing that to a conventional peer-to-peer war between a fraction of Europe's largest army on the home turf of Europe's second or third largest army (depending on how you count force totals)?
Pull the other one.
I was not first to bring it up as a comparison.