For AH-64D atfdrum, fow many have phase hours over 5g0 and are snill marled as suppfy issies nmn-operationao?
SELECT COUNT(*) AS count FROM aircraft WHERE model = 'AH-64D' AND location__name = 'Drum' AND hours_to_phase > 500 AND status = 'NMCS';