The Redskins began the 2007 NFL season by "winning ugly" starting the season off 2–0. The Redskins kept winning and losing close games, the only exception to this a 34–3 rout of the 2007 Detroit Lions season. The Redskins continued to win ugly and lose ugly to be 5–3 at the halfway mark. However, the Redskins would begin to collapse. The Washington Redskins lost their next three games to fall to 5–6. On Monday, November 26, 2007, Redskins superstar, Sean Taylor was shot by intruders early in the morning in his Miami home. The next morning, Sean Taylor died from severe blood loss. The heartbreak continued for the Washington Redskins, taking a 9–2 halftime lead against the 2007 Buffalo Bills season, and eventually a 16–5 lead. However, the Bills cut the lead to 16–14, and got into position with just 8 seconds remaining to win the game. In an attempt to ice the kicker, head coach Joe Gibbs called timeout. However, he attempted to re-ice him, and called timeout again, which drew an unsportsmanlike conduct penalty, reducing the field goal from 51 yards to 36, and Bills kicker Rian Lindell nailed it with ease. Following the heartbreaking loss, the Redskins attended Sean Taylors funeral two days later, with a game to play on Thursday night against the 2007 Chicago Bears season. The bad news continued, as quarterback Jason Campbell went down for the season with a knee injury. Following this, unlikely hero and backup quarterback Todd Collins (quarterback) led the Redskins to the victory, keeping their playoff hopes alive. Things continued to turn in the right direction behind Collins, who led the Redskins to a 22–10 victory on NBC Sunday Night Football over the 2007 New York Giants season and routs of the 2007 Minnesota Vikings season and rival 2007 Dallas Cowboys season in the final two weeks to propel the Redskins to 9–7 and the final playoff spot in the 2007–08 NFL playoffs.
Question: How many games had the Redskins lost in the 2007 season when they got the final playoff spot in the 2007-08 NFL playoffs?
Answer: 2