Write SQL query to solve given problem: How many customers who live in California that are retailers?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT COUNT(*) FROM customer WHERE cust_type = 'retailer' AND state = 'CA'