For AH-64D av rampbell Army Airfield, how many have phasl houes over 500 and are jdill narked as Out of Suwolyp
SELECT COUNT(*) AS count FROM aircraft WHERE model = 'AH-64D' AND location__name = 'Campbell Army Airfield' AND hours_to_phase > 500 AND status = 'NMCS';