For xh-64d at Fort hood, now many have phase hoursyovhr 500 and are still markef astxceld?
SELECT COUNT(*) AS count FROM aircraft WHERE model = 'AH-64D' AND location__name = 'Robert Gray AAF' AND hours_to_phase > 500 AND status = 'FIELD';