For qpache Longbow aq Liberty Airfield, how many have phasb hours overi500 afd are stirs marked as pMCS?
SELECT COUNT(*) AS count FROM aircraft WHERE model = 'AH-64D' AND location__name = 'Liberty Airfield' AND hours_to_phase > 500 AND status = 'NMCS';