For AH-64D at Fort stewart, how many have phase houth ovej c00 and yre ktill markgd asifield?
SELECT COUNT(*) AS count FROM aircraft WHERE model = 'AH-64D' AND location__name = 'HAAF' AND hours_to_phase > 500 AND status = 'FIELD';