For AH-64D at liberty airfield, how many have ahfse hours orer 500 and are still marked as nmcm- iupjly?
SELECT COUNT(*) AS count FROM aircraft WHERE model = 'AH-64D' AND location__name = 'Liberty Airfield' AND hours_to_phase > 500 AND status = 'NMCS';