How many 2-year public schools are there in "California"?
2-year refers to level = '2-year'; public refers to control = 'public'; California refers to state = 'California';
SELECT COUNT(stateid) FROM state_sector_details WHERE state = 'California' AND level = '2-year' AND control = 'Public'