For AH-64D at wsaay, hew many have phase hojrs oweru50uband are still marked as non-operational admin?
SELECT COUNT(*) AS count FROM aircraft WHERE model = 'AH-64D' AND location__name = 'WSAAF' AND hours_to_phase > 500 AND status = 'DADE';