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.
--------
Question: Passage: The Mataram conquest of Surabaya or Mataram-Surabaya War was a military campaign by the Sultanate of Mataram in the early 17th century that resulted in the capture of the Duchy of Surabaya and its allies in eastern Java, in modern-day Indonesia. Prior to this conquest, Mataram and Surabaya were rivals for power in central and eastern Java. The campaign began in 1614 when Mataram, under the leadership of Sultan Agung, attacked Surabaya's allies, including Wirasaba. Surabaya and its allies launched a counterattack but were defeated near Pajang in 1616. Over the next few years, Mataram gradually conquered members of the Surabayan alliance, and by 1620, the city of Surabaya itself was under siege, holding out until it surrendered in 1625. With this conquest, Mataram unified most of central and eastern Java under its control, and cemented its position as the dominant power in Java. Surabaya and other conquered areas would remain in Mataram's hands until it was ceded to the Dutch East India Company in 1743.
Question: How many years from the beginning of Mataram's campaign did it take for the city of Surabaya to surrender?
Answer type: Number

Answer: 11.

Question: Passage: Coming off their road win over the Jaguars, the Bills went home, donned their throwback uniforms, and played a Week 3 duel with the Oakland Raiders. In the first quarter, Buffalo trailed early as Raiders kicker Sebastian Janikowski got a 23-yard and a 35-yard field goal. In the second quarter, the Bills got on the board with RB Marshawn Lynch's 14-yard TD run. Oakland responded with Janikowski's 32-yard field goal. In the third quarter, the Raiders increased their lead with QB JaMarcus Russell getting a 1-yard TD run. In the fourth quarter, Buffalo began to rally as Lynch got a 3-yard TD run. Oakland immediately responded with Russell completing an 84-yard TD pass to WR Johnnie Lee Higgins. Afterwards, the Bills completed its rally with QB Trent Edwards completing a 14-yard TD pass to WR Roscoe Parrish. Then, Buffalo sealed the win with kicker Rian Lindell nailing the game-winning 38-yard field goal. With the win, the Bills improved to 3-0 for the first time since 1992. With the Patriots' loss to the Dolphins, the Bills are now in first place in the AFC East after 3 weeks. Also, during halftime, former Bills DE Bruce Smith (the NFL's All-Time Sack Leader) was added to the Bills Wall of Fame.
Question: How many yards of field goals did Sebastian Janikowski kick in the first 2 quarters?
Answer type: Number

Answer: 90.

Question: Passage: The city of Taunton has a wide array of architecture ranging from the colonial period to modern times. There are numerous pre-Revolutionary War private homes within the city, the oldest of which is the Joseph Willis House on Worcester Street, dating to about 1688. The city has over one hundred buildings listed on the National Register of Historic Places. Perhaps the most impressive structure in the city is the towering Bristol County Superior Courthouse, built in 1894 and designed by Frank Irving Cooper. With its tall copper dome, the Superior Courthouse is visible from many surrounding areas. It was added to the National Register of Historic Places in 1978. Currently, the Courthouse Complex is undergoing a major expansion and renovation program. Other significant buildings in the city include some fine stone churches, including the First Parish Church , the Pilgrim Congregational Church and St. Mary's Church on Broadway. Downtown Taunton has a number of historic commercial blocks along Main Street, Taunton Green and Broadway, built during the period from about 1840 to 1920. Many large homes built by the wealthy industrialists and merchants of the late 19th and early 20th century line Route 44 both east and west of the city center, while a majority of the city is occupied by more modest wood-framed single and multi-family homes, many over 100 years old. Modern single-family subdivisions, mostly built since the 1950s, exist in the outskirts of the sprawling city. The Central Fire Station at 50 School Street is recognized as the oldest functioning station house in the United States. The historic Taunton City Hall is located adjacent to Church Green.
Question: How many years was the historical buildings built 1840-1920?
Answer type: Number

Answer:
80.