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.

Example Input: Passage: Following their Monday Night at Miami, the Patriots returned to Foxborough for their home opener against the San Diego Chargers. In the first quarter, Patriots' quarterback Tom Brady threw a 14-yard touchdown pass to tight end Aaron Hernandez, but the Chargers responded, with a 10-yard touchdown run by running back Ryan Mathews. The Patriots scored 13 unanswered points in the second quarter, with a 22-yard field goal by placekicker Stephen Gostkowski, a 10-yard touchdown pass from Brady to tight end Rob Gronkowski, followed by a 47-yard field goal by Gostkowski just before halftime. After a scoreless third quarter, the Chargers cut into the Patriots lead, with a 3-yard touchdown pass from quarterback Philip Rivers to wide receiver Vincent Jackson. The Patriots responded, with Brady throwing a 17-yard touchdown pass to Rob Gronkowski (and a two-point conversion run by running back Danny Woodhead). The Chargers tried to rally, with Rivers throwing a 26-yard touchdown pass to Jackson, but a 16-yard touchdown run by Patriots' running back BenJarvus Green-Ellis just after the two-minute warning sealed the win for New England. 
Question: How many points did both team make  in the first quarter? 
Answer type: Number 
Example Output: 14.

Example Input: Passage: The Steelers stayed home for a game against the Jets. In the first quarter, the Jets took an early 3-0 lead when Nick Folk kicked a 30-yard field goal. Later on, the Steelers took the lead when Ben Roethlisberger found Sammie Coates for a 72-yard touchdown pass to make it 7-3. The Jets scored 10 straight points in the second quarter: Folk kicked a 48-yard field goal to come within a point, 7-6. This would be followed byRyan Fitzpatrick finding Brandon Marshall on a 15-yard touchdown pass to make it 13-7. The Steelers wrapped up the scoring of the half when Roethlisberger found Jesse James on a 1-yard touchdown pass to make it 14-13 at halftime. In the second half it was all Steelers. Starting in the third quarter, Chris Boswell put the team up by 4 with a 47-yard field goal to make it 17-13. In the fourth quarter, they would score 2 touchdowns: Roethlisberger found Antonio Brown on a 5-yard pass and then Coates on another 5-yard pass to make the score 24-13 and the eventual final score 31-13. With the win, the Steelers improved to 4-1. With the Ravens' loss to the Redskins, the team is also now in outright first place in the AFC North. This would be the final game the Steelers would wear their 1934 throwback uniforms. 
Question: How many field goals were kicked in total? 
Answer type: Number 
Example Output: 3.

Example Input: Passage: In the latter half of the 16th century, the Sultanate of Demak, the dominant power in the island of Java, disintegrated into several independent states. At the turn of the 17th century, three of these states emerged as the leading powers: the Sultanate of Banten in western Java, the Sultanate of Mataram in inland central Java, and the Duchy of Surabaya in coastal eastern Java. Mataram consolidated its power by absorbing other principalities: Pajang in c. 1588, Demak , Madiun  and Kediri . Following Mataram's unsuccessful westward expedition against Banten in about 1597, Mataram turned its expansion eastward, into areas under the influence of Surabaya. The Duchy of Surabaya was centered roughly in today's city of Surabaya in the northern coast of eastern Java. It was a wealthy and powerful state, and the city was an important port in the trade route between Malacca and the Spice Islands., The city was approximately 37 kilometres  in circumference, and was fortified by canals and cannons. Allied with the nearby state of Pasuruan, the Duchy expanded its influence throughout the eastern part of Java in the beginning of the 17th century. By 1622, it was in control of Gresik and Sedayu in eastern Java. It was also the overlord of Sukadana and Banjarmasin in southern Borneo. More doubtful reports said it might have also extended its influence to Pasuruan, Blambangan, the Brantas valley region, and Wirasaba. Other than these, Surabaya was also allied with Tuban, Malang, Kediri, Lasem, all in eastern Java, as well as Madura off the northern coast. This alliance was primarily a response to the growing power of Mataram, and Surabaya was the founder and the most powerful member. 
Question: How many principalities did Mataram absorb? 
Answer type: Number 
Example Output:
4.