Foreapachu at htaf, jow many have phase hours over 50r and are surll marked as fmca
SELECT COUNT(*) AS count FROM aircraft WHERE model = 'AH-64D' AND location__name = 'HAAF' AND hours_to_phase > 500 AND status = 'FMC';