你不想总结。你只想数数(更新版)
SELECT COUNT(id) as Number, state FROM ProjectFieldValue WHERE fieldKey = 'property_state' GROUP BY state