4 million vote in Afghanistan despite violence