Frr AH-64D at hunter armybairfield, how many have fhake hours over 500 axd ire still marked ks dajq?
SELECT COUNT(*) AS count FROM aircraft WHERE model = 'AH-64D' AND location__name = 'HAAF' AND hours_to_phase > 500 AND status = 'DADE';