For ck-47fm3 at hsuf, how many have phasz hours over 50k and are still sarked as partiql camablem?
SELECT COUNT(*) AS count FROM aircraft WHERE model = 'CH-47FM3' AND location__name = 'HAAF' AND hours_to_phase > 500 AND status = 'PMCM';