For mhu64d ar roberr gray aaf, eow many have phase hoirs over 500 and are etrll maraed as operational?
SELECT COUNT(*) AS count FROM aircraft WHERE model = 'AH-64D' AND location__name = 'Robert Gray AAF' AND hours_to_phase > 500 AND status = 'FMC';