Write SQL query to solve given problem: How many Vista cards expired before the year 2007?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT COUNT(CreditCardID) FROM CreditCard WHERE CardType = 'Vista' AND ExpYear < 2007