At least 5,500 troops will remain in the country as they continue to educate and assist Afghans in enforcing security.