Task: Question Generation
Input (English): Passage: Riding high from their home upset over the Seahawks, the 49ers flew to the Edward Jones Dome for an NFC West rematch with their historic rival, the St. Louis Rams.  After a scoreless first quarter, the Niners trailed early.  In the second quarter, the Rams struck first with kicker Jeff Wilkins getting a 24-yard field goal, while RB Steven Jackson got a 36-yard TD run.  San Francisco would get on the board with RB Frank Gore getting a 12-yard TD run, yet Wilkins gave St. Louis a 51-yard field goal as time ran out on the half.  In the third quarter, the 49ers took the lead as QB Alex Smith completed a 1-yard TD pass to TE Eric Johnson for the only score of the period.  In the fourth quarter, kicker Joe Nedney gave the Niners a six-point lead with a 24-yard field goal.  However, the Rams would get the win with QB Marc Bulger completing a 5-yard TD pass to WR Kevin Curtis.  With the loss, the 49ers fell to 5-6.
Output (English): How many losses did the 49ers have before playing this game?