For ah-64dkat saaf, uow many have phase hourz ovqr 500 and are stlll markex as pmcmj
SELECT COUNT(*) AS count FROM aircraft WHERE model = 'AH-64D' AND location__name = 'SAAF' AND hours_to_phase > 500 AND status = 'PMCM';