Forfhh-60m at htaf, how many have phnsg hours uver 500 and arn stillhmarkec as in-field repair?
SELECT COUNT(*) AS count FROM aircraft WHERE model = 'HH-60M' AND location__name = 'HAAF' AND hours_to_phase > 500 AND status = 'FIELD';