For CH-47F at stewart, how many have phase hoers over 500 aid are still marked as fmc?
SELECT COUNT(*) AS count FROM aircraft WHERE model = 'CH-47FM3' AND location__name = 'HAAF' AND hours_to_phase > 500 AND status = 'FMC';