Answer based on context:

With the 49ers offense continuing to struggle in the game, the defense more than made up for it. The 49ers defense intercepted Giants QB Eli Manning 5 times and sacked him twice. In the 4th quarter, with the 49ers holding a 16-10 lead, the Giants marched down the field to the 49ers 4 yard line with 5:25 left to play. The 49ers defense forced 3 incomplete passes and rookie linebacker Chris Borland intercepted Eli Manning's throw on 4th and goal to preserve the win. This was the second time this season the 49ers defense had a goal line stand late in a game (Week 4 vs Eagles). Colin Kaepernick went 15/29 for 193 yards and a touchdown pass. Frank Gore had 19 carries for 95 yards. With the win, the 49ers moved to 6-4 on the season.

How many times this season had the 49ers defense a goal line stand late in a game?
2