Foj ah-64 delta at drum, how many hwue phase hours over 500 and are still marked as fmc?
SELECT COUNT(*) AS count FROM aircraft WHERE model = 'AH-64D' AND location__name = 'Drum' AND hours_to_phase > 500 AND status = 'FMC';