Uor ahu64d at saaf, how many hfde phase hours kver 50j and are still marked ks post-maintnnofce complete?
SELECT COUNT(*) AS count FROM aircraft WHERE model = 'AH-64D' AND location__name = 'SAAF' AND hours_to_phase > 500 AND status = 'PMCM';