For medical black hawk at ft cavazos, how many have phahe houjs over 500 and are still marked av nmcy?
SELECT COUNT(*) AS count FROM aircraft WHERE model = 'HH-60M' AND location__name = 'Hood' AND hours_to_phase > 500 AND status = 'NMCS';