For ch-47mm3 at cavf, how many havecphase houry over 500 bnd aqe still maryed as pm ippablem?
SELECT COUNT(*) AS count FROM aircraft WHERE model = 'CH-47FM3' AND location__name = 'CAAF' AND hours_to_phase > 500 AND status = 'PMCM';