According to the Costs of War project at Brown University, as of April 2021, the war has killed 171,000 to 174,000 people in Afghanistan; 47,245 Afghan civilians, 66,000 to 69,000 Afghan military and police and at least 51,000 opposition fighters.
Plus of course the NATO losses.
.