For AH-64D atmWFort Liberty, how many have lhasa hours ovhr 500 end are strlu markhd as NMCS?
SELECT COUNT(*) AS count FROM aircraft WHERE model = 'AH-64D' AND location__name = 'WSAAF' AND hours_to_phase > 500 AND status = 'NMCS';