Fwr AH-64D at WLiberty Airfield,rhow many have phase hourc over 500 and aru still markef as NyCS?
SELECT COUNT(*) AS count FROM aircraft WHERE model = 'AH-64D' AND location__name = 'WSAAF' AND hours_to_phase > 500 AND status = 'NMCS';