You will be given a definition of a task first, then some input of the task.
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.

Passage: Zelaya resigned on December 14, 1909, and his hand-picked successor, Jose Madriz, was elected by unanimous vote of the liberal Nicaraguan national assembly on December 20, 1909. U.S. Secretary of State Philander C. Knox admonished that the United States would not resume diplomatic relations with Nicaragua until Madriz demonstrated that his was a "responsible government ... prepared to make reparations for the wrongs" done to American citizens. His request for asylum granted by Mexico, Zelaya was escorted by armed guard to the Mexican gunboat General Guerrero and departed Corinto for Salina Cruz, Mexico, on the night of December 23, with Albany standing by but taking no action. As the flagship of the Nicaraguan Expeditionary Squadron, under Admiral William W. Kimball, Albany spent the next five months in Central America, mostly at Corinto, maintaining U.S. neutrality in the ongoing rebellion, sometimes under criticism by the U.S. press and business interests that were displeased by Kimball's "friendly" attitude toward the liberal Madriz administration. By mid-March 1909, the insurgency led by Estrada and Chamorro was seemingly collapsed and with the apparent and unexpected strength of Madriz, the U.S. Nicaraguan Expeditionary Squadron completed its withdrawal from Nicaraguan waters. On May 27, 1910, U.S. Marine Corps Major Smedley Butler arrived on the coast of Nicaragua with 250 Marines, for the purpose of providing security in Bluefields. United States Secretary of State Philander C. Knox condemned Zelaya's actions, favoring Estrada. Zelaya succumbed to U.S. political pressure and fled the country, leaving Jose Madriz as his successor. Madriz in turn had to face an advance by the reinvigorated eastern rebel forces, which ultimately led to his resignation. In August 1910, Juan Estrada became president of Nicaragua with the official recognition of the United States.
Question: How many months after Madriz was elected president did Juan Estrada become president of Nicaragua?
Answer type: Number
Output:
8.