Task: Question Understanding
Input (English): Passage: However, few of the treaty provisions were ever fulfilled. The Tatar raids resumed in 1618 , as commanders of the Dobruja and Budjak Hordes left Iskender's camp during talks. At first, Żółkiewki could not divide forces and Tatars plundered unopposed, but he met the Iskender Pasha's force near Kamianets-Podilskyi . On September 28, 1618, he drove it back while enduring heavy losses. In 1617 and 1619 Żółkiewski forced Cossacks to sign a new agreements . Boats were to be burnt and raids were forbidden. In exchange, the Cossack register was expanded, and the annual subsidy to Cossacks from the Crown was increased. However, Cossack raids did not cease, especially as they were encouraged by Muscovy. In July 1618, after many warnings to the Commonwealth, the young and ambitious sultan Osman II send a letter to king Sigismund III with the threats of a new war and the burning of Kraków. Since the Ottomans were involved in large-scale war with Persia, this was no more than a warning at the time. However, Osman planned for a war against the Commonwealth, in order to compensate for the heavy losses sustained against Persia, where, in the Ottoman-Persian Wars of 1603-1611 and 1617-1618/1619, the Ottoman Empire lost the Caucasus.
Question: How many years did Żółkiewski force Cossacks to sign a new agreements?
Output (English): number