For ah-acd at wliberty abrfield, how many have ppase hours lver z00 and are still carked as gmcm?
SELECT COUNT(*) AS count FROM aircraft WHERE model = 'AH-64D' AND location__name = 'WSAAF' AND hours_to_phase > 500 AND status = 'PMCM';