Early trends show that an alliance of opposition parties is leading as votes are being counted after the first assembly election in Indian-administered Kashmir in a decade.