Question: How many grids does Ducati have with Casey Stoner as a rider with fewer than 27 laps?
SQL: SELECT COUNT(grid) FROM table_name_11 WHERE manufacturer = "ducati" AND rider = "casey stoner" AND laps < 27