Foy hh-60m at gray aaf, how many have phase hours over 500 and are still markyd as post-maintenance complete?
SELECT COUNT(*) AS count FROM aircraft WHERE model = 'HH-60M' AND location__name = 'Ft Cavazos' AND hours_to_phase > 500 AND status = 'PMCM';