A US withdrawal does not mean abandoning the Afghans. Afghanistan suffers from too much foreign meddling, not a lack of it. And through all of it, the Afghans themselves remain completely helpless to the fate of their own country.
Answer: Zero. The military shouldn't even be involved in Afghanistan. If we want to achieve our objectives in Afghanistan, we need sustainable, civilian-only solutions.