A new survey says more Afghans think their country is heading in the right direction , even though many believe it is still plagued by a lack of security .