user: Question: How many pre-race analysis occur when Allen Bestwick does the lap-by-lap?
Columns: ['Year', 'Network', 'Host', 'Pre-race analyst', 'Lap-by-lap', 'Color commentator(s)', 'Pit reporters']
Types: ['real', 'text', 'text', 'text', 'text', 'text', 'text']
Sample row: [2012.0, 'ESPN', 'Shannon Spake', 'N/A', 'Marty Reid', 'Ricky Craven', 'Rick DeBruhl Jim Noble Shannon Spake']
SQL:

assistant: SELECT COUNT("Pre-race analyst") FROM "Table" WHERE "Lap-by-lap" = 'Allen Bestwick';