Table: catalan_2002
Columns: rider
manufacturer
laps
time_retired
grid

Question: What's the lap number for time/retired of +33.912?
SQL: SELECT COUNT("laps") FROM catalan_2002 WHERE "time_retired" = '+33.912'

Question: Total laps for Shinya Nakano at smaller than 10 grids.
SQL: SELECT COUNT("laps") FROM catalan_2002 WHERE "rider" = 'shinya nakano' AND "grid" < 10