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.
Q: Passage: Jedrzej Edward Moraczewski was a Polish socialist politician who served as the first Prime Minister of the Second Polish Republic between November 1918 and January 1919. He had previously served as Minister of Communications. Subsequently, from 1925 to 1929, he served as Minister of Public Labour. Moraczewski died on 5 August 1944 when he was hit by shrapnel fired by a Soviet soldier into his house. He was buried at Powazki Military Cemetery.
Question: How many months did he serve as First Prime Minister of the Second Polish Republic?
Answer type: Number
A:
2.