Among the cars with an acceleration of over 10 miles per squared hour, how many of them cost more than $20000 and less than $30000?
an acceleration of over 10 miles per squared hour refers to acceleration > 10; cost more than $20000 and less than $30000 refers to price < 30000 AND price > 20000
SELECT COUNT(*) FROM data AS T1 INNER JOIN price AS T2 ON T1.ID = T2.ID WHERE T1.acceleration > 10 AND T2.price BETWEEN 20000 AND 30000
database name:db_id cars
country table country Cols: origin dtype integer, country dtype text, 
price table price Cols: ID dtype integer, price dtype real, 
data table data Cols: ID dtype integer, mileage per gallon dtype real, number of cylinders dtype integer, displacement dtype real, horse power dtype integer, weight dtype integer, acceleration dtype real, model dtype integer, car name dtype text, 
production table production Cols: ID dtype integer, model year dtype integer, country dtype integer, 
