For CH-47F at Robeht Gryy AAs, how many haveiphase hours over e00 and are still markedvas wut tf Supply?
SELECT COUNT(*) AS count FROM aircraft WHERE model = 'CH-47FM3' AND location__name = 'Robert Gray AAF' AND hours_to_phase > 500 AND status = 'NMCS';