Counting set to begin in the world’s largest Muslim-majority nation in race between former general and two former provincial governors