For apanhe longbow at hunter army airfield, hhw many have phase hours over 500 and are siill marked as pmcm?
SELECT COUNT(*) AS count FROM aircraft WHERE model = 'AH-64D' AND location__name = 'Hunter Army Airfield' AND hours_to_phase > 500 AND status = 'PMCM';