Write SQL query to solve given problem: How many 2-year public schools are there in "California"?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT COUNT(stateid) FROM state_sector_details WHERE state = 'California' AND level = '2-year' AND control = 'Public'