Write SQL query to solve given problem: How many counties are there in Alabama?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT COUNT(T2.county) FROM state AS T1 INNER JOIN country AS T2 ON T1.abbreviation = T2.state WHERE T1.name = 'Alabama'