Write SQL query to solve given problem: Count the matches that were won by wickets in all season.. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT COUNT(T1.Match_Id) FROM Match AS T1 INNER JOIN Win_By AS T2 ON T1.Win_Type = T2.Win_Id WHERE T2.Win_type = 'wickets'