More than 12 million Afghans are registered to vote Sunday to elect a national parliament and local councils in all 34 provinces .