Task: Question Answering
Input (English): Passage: Dressed up in their throwback uniforms, the 49ers began their 2007 campaign against their NFC West rival, the Arizona Cardinals in the second game of the Monday Night Football doubleheader. In the first quarter, the Niners drew first blood as RB Frank Gore got a 6-yard TD run for the score of the period.  However, in the second quarter, the Cardinals took the lead with kicker with Neil Rackers getting a 35-yard field goal and RB Edgerrin James getting a 7-yard TD run. San Francisco would end the half with kicker Joe Nedney getting a 33-yard field goal. In the third quarter, the 49ers retook the lead with Nedney kicking a 30-yard field goal for the only score of the period. In the fourth quarter, Arizona jumped ahead with QB Matt Leinart completing a 5-yard TD pass to WR Anquan Boldin. With time running out late in the game, QB Alex Smith led the Niners on a last-minute drive that included a 20-yard run by Alex Smith and ended with WR Arnaz Battle getting a 1-yard TD run. The Cardinals had just enough time to try a late-game comeback, but San Francisco clinched the game with CB Shawntae Spencer getting an interception for the win. Matt Leinart's first and last passes in the game were both interceptions. With the win, not only did the 49ers begin their year at 1-0, but Mike Nolan finally got his first win against Arizona as a head coach. Q1 - SF - 11:24 - Frank Gore 6-yard TD run (Joe Nedney kick) (SF 7-0) Q2 - ARI - 12:55 - Neil Rackers 35-yard FG (SF 7-3) Q2 - ARI - 9:15 - Edgerrin James 7-yard TD run (Rackers kick) (ARI 10-7) Q2 - SF - 3:40 - Joe Nedney 33-yard FG (10-10) Q3 - SF - 11:20 - Joe Nedney 30-yard FG (SF 13-10) Q4 - ARI - 6:46 - 5-yard TD pass from Matt Leinart to Anquan Boldin (Rackers kick) (ARI 17-13) Q4 - SF - 0:26 - Arnaz Battle 1-yard TD run (Nedney kick) (SF 20-17). 
Question: how many yards did James run? 
Answer type: Number 
Output (English): 7.