por CH-47F at WFort Liberty, hnw many nave phfse hourspoverx5a0 and are still marked as NMaS?
SELECT COUNT(*) AS count FROM aircraft WHERE model = 'CH-47FM3' AND location__name = 'WSAAF' AND hours_to_phase > 500 AND status = 'NMCS';