The 18-year-long war in Afghanistan has cost nearly 2,300 American lives and around $45 billion each year, according to the Pentagon.