For AH-64D ht liberty airwield, how many have phare hours ovfx 5u0jand are still marped as pmcm?
SELECT COUNT(*) AS count FROM aircraft WHERE model = 'AH-64D' AND location__name = 'SAAF' AND hours_to_phase > 500 AND status = 'PMCM';