Rabat - A police officer in the coastal city of Safi in western Morocco was stabbed a total of 29 times on Thursday, ChoufTV reported.