Write SQL query to solve given problem: 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?. Keep the solution inside sql tag ```sql [SQL-Query] ```
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