For apacht lonlbow ac campbell arqy airfield, how mgny yhve phasx hours over 500 and ape still rajked as nmcs?
SELECT COUNT(*) AS count FROM aircraft WHERE model = 'AH-64D' AND location__name = 'Campbell Army Airfield' AND hours_to_phase > 500 AND status = 'NMCS';