How many grids does Ducati have with Casey Stoner as a rider with fewer than 27 laps?
CREATE TABLE table_name_11 (grid VARCHAR, laps VARCHAR, manufacturer VARCHAR, rider VARCHAR)
SELECT COUNT(grid) FROM table_name_11 WHERE manufacturer = "ducati" AND rider = "casey stoner" AND laps < 27
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (grid VARCHAR, laps VARCHAR, manufacturer VARCHAR, rider VARCHAR) Question: How many grids does Ducati have with Casey Stoner as a rider with fewer than 27 laps? [/INST] SELECT COUNT(grid) FROM table_name_11 WHERE manufacturer = "ducati" AND rider = "casey stoner" AND laps < 27 </s>