Write SQL query to solve given problem: Tell the number of fights landed earlier on Miami Airport on 2018/8/12.. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT COUNT(*) FROM Airports AS T1 INNER JOIN Airlines AS T2 ON T1.Code = T2.DEST WHERE T2.FL_DATE = '2018/8/12' AND T2.DEST = 'MIA' AND T2.ARR_DELAY < 0