As per this
page for the renewal it should be 28 flights in total (out of which 10 should be on AT).
"In order to maintain your Safar Flyer Gold status, all you need to do is accumulate 32,000 Status Miles or 28 Status flights over one calendar year, after flying on Royal Air Maroc or any other member airline of the oneworld Alliance.
In order to achieve or renew Gold status, the thresholds reached must include at least 17,500 Status Miles and/or 10 Status flightson flights marketed and operated by Royal Air Maroc."
Which makes it quite a challenge i have to say... Last year I made it with miles only but it was because they were running a 2x award miles offer on AT. But this year, I think i will just leave it.