Write SQL query to solve given problem: How many flights from Dallas to Santa Ana departed on time?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT COUNT(*) FROM Airlines WHERE DEST = 'SNA' AND ORIGIN = 'DFW' AND DEP_DELAY = 0