TASK DEFINITION: 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.
PROBLEM: Passage: Main article: Kazan rebellion of 1552-56. 18,000 men were left as a garrison and Ivan returned to Moscow to celebrate. After the fall of Kazan resistance continued in the countryside. The tribes refused to pay taxes. Russian merchants were killed which led to reprisals. The forts of Çalım and Mişätamaq and were built on the west and east sides of the Volga. The Nogai Ali Akram was brought in as khan. Soltikov marched against Mişätamaq but he and 500 men were surrounded in the snow and killed. Ivan sent a larger force. There were daily combats in the snow and forests. Ten thousand men were killed, six thousand were captured along with fifteen thousand women and children. 1600 leading Tatars were put to death.The leaders Yepancha and Aleka were killed.  Ali Akram proved incompetent and was killed by Mameshbirde. Mameshbirde was betrayed to the Russians. The fort of Mişätamaq fell at some point. After the fall of Çalım in 1556 most resistance came to an end. In 1556 the Russians went down the Volga and conquered the Khanate of Astrakhan. In 1558 Anikey Stroganov was granted large lands on the Kama River northeast of Kazan, which he worked to develop. In 1582 the Stroganovs were involved in the conquest of the Khanate of Sibir east of the Urals. The Kazan Tatars continued to live in the area and retained their language and religion. 
Question: How many total people were killed or captured by Ivan? 
Answer type: Number 

SOLUTION: 31000.

PROBLEM: Passage: As of the census of 2000, there were 218,590 people, 79,667 households, and 60,387 families residing in the county.  The population density was 496 people per square mile (192/km²). There were 83,146 housing units at an average density of 189 per square mile (73/km²). The racial makeup of the county was 86.77% Race (United States Census), 9.27% Race (United States Census), 0.23% Race (United States Census), 1.52% Race (United States Census), 0.06% Race (United States Census), 0.69% from Race (United States Census), and 1.47% from two or more races.  1.91% of the population were Race (United States Census) or Race (United States Census) of any race. 22.5% were of German people, 13.1% Irish people, 9.8% Italian people, 9.2% English, 8.1% "American" and 6.0% Polish ancestry. 
Question: How many more housing units are there than households? 
Answer type: Number 

SOLUTION: 3479.

PROBLEM: Passage: The long border between Burma and China had long been vaguely defined. The Ming dynasty first conquered Yunnan borderlands between 1380 and 1388, and stamped out local resistance by the mid-1440s. The Burmese control of the Shan States  came in 1557 when King Bayinnaung of the Toungoo dynasty conquered all of the Shan States. The border was never demarcated in the modern sense, with local Shan sawbwas  at the border regions paying tribute to both sides. The situation turned to China's favor in the 1730s when the Qing decided to impose a tighter control of Yunnan's border regions while the Burmese authority largely dissipated with the rapid decline of the Toungoo dynasty. 
Question: How many years did it take for the Ming to first conquer the Yunnan borderlands? 
Answer type: Number 

SOLUTION:
8.