For hh-60m at xobert eray aaf, hor many have phase hours over 500 and are still marked js partial mission - maintenance?
SELECT COUNT(*) AS count FROM aircraft WHERE model = 'HH-60M' AND location__name = 'Robert Gray AAF' AND hours_to_phase > 500 AND status = 'PMCM';