Question: The person who resigned before Robin Fontes assumed her current position served in the Army for how many years?

full_context: Document 1: James L. Jones: James Logan "Jim" Jones Jr. (born December 19, 1943) is a retired United States Marine Corps general and the former United States National Security Advisor.
Document 2: John O. Brennan: John Owen Brennan (born September 22, 1955) was the Director of the Central Intelligence Agency from March 2013 to January 2017. He has served as chief counterterrorism advisor to U.S. President Barack Obama; his title was Deputy National Security Advisor for Homeland Security and Counterterrorism, and Assistant to the President. His responsibilities included overseeing plans to protect the country from terrorism and respond to natural disasters, and he met with the President daily. Previously, he advised President Obama on foreign policy and intelligence issues during the 2008 presidential campaign and transition. Brennan withdrew his name from consideration for Director of the Central Intelligence Agency (CIA) in the first Obama administration over concerns about his support for transferring terror suspects to countries where they may be tortured while serving under President George W. Bush. Instead, Brennan was appointed Deputy National Security Advisor, a position which did not require Senate confirmation.
Document 3: Tom Bossert: Thomas P. "Tom" Bossert (born March 25, 1975) is an American lawyer and Republican White House staffer, currently serving President Donald Trump as Homeland Security Advisor. Immediately before, he was fellow at the Atlantic Council and prior to that he served as Deputy Homeland Security Advisor to President George W. Bush. In that capacity, he co-authored the 2007 National Strategy for Homeland Security. Prior to that, Bossert held positions in the Federal Emergency Management Agency, the Small Business Administration, the Office of the Independent Counsel, and the House of Representatives. He also was appointed as the Director of Infrastructure Protection under Bush, overseeing the security of critical U.S. infrastructure, a post he held for two years. Following that, he was appointed the Senior Director for Preparedness Policy within the Executive Office of the President.
Document 4: Fazle Haq: Lieutenant General Fazle Haq, (Urdu: فضل حق; HI(M), HPk(10 September 1928 - 3 October 1991)), was a high-ranking general in the Pakistan Army, and the former martial law administrator (MLA) of Khyber-Pakhtunkhwa province of Pakistan. He was the "Corps-Commander" of the XI Corps, and commanded all the Pakistan Army assets assigned in the Khyber-Pakhtunkhwa Province. He commanded the combatant brigades, and supervised the clandestine covert network during the Soviet war in Afghanistan. He was one of the leading generals who led the Pakistan Combatant Forces during the Soviet war in Afghanistan. As military administrator, he had set up a network of training of the Afghan mujahideen. Under his command, the elements of Pakistan's administrative XI Corps participated in numerous operations against the Soviet Union.
Document 5: Michele S. Jones: Michele S. Jones was the first woman in the United States Army Reserve to reach the position of command sergeant major of the U.S. Army Reserve. She was the first female non-commissioned officer to serve in the highest enlisted position of a component of the U.S. Army, active or reserve, and was at one time the highest-ranking African-American female enlisted person in any branch of the United States military, as well as the highest-ranking enlisted African American in the Army Reserve.
Document 6: Michael Morell: Michael Joseph Morell (born September 4, 1958) is a former American intelligence analyst. He served as the deputy director of the Central Intelligence Agency as well as its acting director twice, first in 2011 and then from 2012 to 2013. Since November 2013, he has been a Senior Counselor to Beacon Global Strategies LLC. He is a critic of the Senate Intelligence Committee's 2014 report on the CIA's use of enhanced interrogation techniques, which many consider to be torture, and is also a proponent of the CIA's targeted killings by drones.
Document 7: Bipin Rawat: General Bipin Rawat, UYSM, AVSM, YSM, SM, VSM, is the 27th Chief of Army Staff of the Indian Army. He assumed office on 31 December 2016 after retirement of General Dalbir Singh.
Document 8: Ashfaq Parvez Kayani: Ashfaq Parvez Kayani, (Urdu: ‎ , born 20 April 1952; NI(M), HI), is a retired four-star rank army general in the Pakistan Army who served as the Chief of Army Staff from 29 November 2007 to 29 November 2013. He succeeded General Pervez Musharraf as the chief of army staff on 29 November 2007. He also held the acting charge of Chairman of the Joint Chiefs of Staff Committee from October to November 2013. In addition, General Kayani served as the Director-General of the Inter-Services Intelligence ("ISI") and as director of the Directorate-General of Military Operations (DGMO). On 24 July 2010, Prime Minister Yousaf Raza Gillani extended Kayani's term as Chief of the Army Staff by three years, making him the first four-star officer to receive a term extension from any democratic government.
Document 9: Mari K. Eder: 'Major General Mari K. Eder is a retired United States Army Major General. General Eder was appointed Commanding General of the United States Army Reserve Joint and Special Troops Support Command (redesignated as the 76th Operational Reserve Command in 2013), Salt Lake City, Utah, in October 2009, retiring from the Army in 2012. Prior to assuming command of the USAR Joint and Special Troop Support Command, she was assigned as the Deputy Chief of the US Army Reserve.
Document 10: Resolute Support Mission: Resolute Support Mission or Operation Resolute Support is a NATO-led train, advise and assist mission consisting of over 13,000 troops in the Islamic Republic of Afghanistan, which began on January 1, 2015. It is a follow-on mission to the International Security Assistance Force (ISAF) which was completed on December 28, 2014.<ref name="NATO 30/01"> </ref> Its current commander is U.S. Army General John W. Nicholson Jr. who replaced U.S. Army General John F. Campbell on 2 March 2016.
Document 11: Robin Fontes: Robin L. Fontes is a United States Army major general. In July 2017 she took command of Combined Security Transition Command – Afghanistan, becoming the highest-ranking female military officer in Afghanistan since the American invasion of that country in 2001. A mustang officer, Fontes was commissioned in 1986 and focused on Central Asia, eventually serving in Tajikistan, Pakistan, and India, including a few years in Afghanistan. She assumed her current position after the resignation of Michael Flynn from the Trump Administration ended her announced role as senior director for India, Pakistan and Central Asian Affairs on the United States National Security Council.
Document 12: Flynn Intel Group: Flynn Intel Group is a lobbying group, House Identification 433680001 and Senate Identification 401104161, established by Michael Flynn. Flynn "registered his new company, Flynn Intel Group, from an Alexandria, Va., townhouse owned by Stanley A. McChrystal, a friend and fellow general-turned-consultant".
Document 13: Michael Flynn: Michael Thomas "Mike" Flynn (born December 1958) is a retired United States Army Lieutenant General, who served in the Army for 33 years until 2014. Flynn's military career included a key role in shaping U.S. counterterrorism strategy and dismantling insurgent networks in Afghanistan and Iraq, and he was given numerous combat arms, conventional, and special operations senior intelligence assignments. He was appointed by President Barack Obama as the eighteenth director of the Defense Intelligence Agency, serving from July 2012 to his retirement from the military in August 2014. After leaving the military, he established Flynn Intel Group which has provided intelligence services for businesses and governments, including ones in Turkey. Flynn also briefly served as the twenty-fifth National Security Advisor for President Donald Trump, from January 20 to February 13, 2017.
Document 14: David Petraeus: David Howell Petraeus {'1': ", '2': ", '3': ", '4': "} ( ; born November 7, 1952) is a retired United States Army General officer and public official. He served as Director of the Central Intelligence Agency from September 6, 2011, until his resignation on November 9, 2012. Prior to his assuming the directorship of the CIA, Petraeus served 37 years in the United States Army. His last assignments in the Army were as commander of the International Security Assistance Force (ISAF) and
Document 15: Michèle Flournoy: Michèle Angelique Flournoy (born December 14, 1960) is the former Under Secretary of Defense for Policy, the seventh-ranking official in the U.S. Department of Defense, and in that role served as a principal advisor to U.S. Secretaries of Defense Robert Gates and Leon Panetta from February 2009 to February 2012. When the U.S. Senate confirmed her nomination on February 9, 2009, she was at the time the highest-ranking woman at the Pentagon in the department's history.
ground_truth: 33