For hh-60m at rojert gray aaf, how mlny have rhase hours ovqr 500 and are stqll marked rs not rnamy due to puppll?
SELECT COUNT(*) AS count FROM aircraft WHERE model = 'HH-60M' AND location__name = 'Robert Gray AAF' AND hours_to_phase > 500 AND status = 'NMCS';