In Pakistan, polls have closed in an election dogged by violence and controversy. Former Pakistani Prime Minister Nawaz Sharif has expressed confidence that …