Given the task definition and input, reply with output. This task involves creating answers to complex questions, from a given passage. Answering these questions, typically involve understanding multiple sentences. Make sure that your answer has the same type as the "answer type" mentioned in input. The provided "answer type" can be of any of the following types: "span", "date", "number". A "span" answer is a continuous phrase taken directly from the passage or question. You can directly copy-paste the text from the passage or the question for span type answers. If you find multiple spans, please add them all as a comma separated list. Please restrict each span to five words. A "number" type answer can include a digit specifying an actual value. For "date" type answers, use DD MM YYYY format e.g. 11 Jan 1992. If full date is not available in the passage you can write partial date such as 1992 or Jan 1992. If you find multiple spans, please add them all as a comma separated list. Please restrict each span to five words.

Passage: In November the Polish warrior-king Sobieski launched a major campaign on the right bank. Bar, Bratslav and Nemiroff surrendered to the Poles but Rashkov was taken by storm and the garrison slaughtered. Kalnik gave up and took the oath of allegiance to the Polish crown. Polish banners under Dmitry Vishnevetsky and Stanislav Yablonovsky crushed Cossack and Tartar troops at Zhornishch and Nemiroff, and Polish-Lithuanian troops under Nicholas Senyavskaya and Prince Michael Casimir Radziwill defeated the enemy in the battles at Chyhyryn and Pavoloch. At the Battle of Pavoloch 4,000 Tatars under the Nureddin-Sultan was broken. The Nureddin-Sultan was killed. In autumn 1674 the Sultan organized a campaign against the Zaporozhian Sich, and sent 15,000 select Janissaries came by sea to Crimea. The Turkish government had decided to seize the Sich and destroy all the Zaporozhian Cossacks. By order of the Sultan, Selim Giray and 40,000 Tatars joined the Turkish campaign against Sich. In January 1675 15,000 Janissaries and 40,000 Tatars under Khan Selim Giray approached the Sich without being detected. Tartars surrounded the Sich and Janissaries tried to enter it, but the Zaporozhians repulsed the attack and decisively defeated the Turkish troops. 13,500 Janissaries were killed and the rest fled. The Khan retreated from the Sich back to the steppe.
Question: How many surrendered to the Poles?
Answer type: Number
3.