By Jan. 1, there will be only 12,500 foreign forces in the country to advice and train the Afghan security forces that have been built up almost from scratch in recent years.