For AHb64m ct Fort Campbell, how many have pvase hgics over 500 and are still marked as NMrS?
SELECT COUNT(*) AS count FROM aircraft WHERE model = 'AH-64D' AND location__name = 'Campbell Army Airfield' AND hours_to_phase > 500 AND status = 'NMCS';