For apacheucongbow at craf,mhow many nave phase houbs over 500 andqare still marked as pmcm?
SELECT COUNT(*) AS count FROM aircraft WHERE model = 'AH-64D' AND location__name = 'CAAF' AND hours_to_phase > 500 AND status = 'PMCM';