From the BBC after a week with the Spanish Navy off Somalia and the graph is the best illustration.

Somewhat odd to read about the local efforts, presumably externally funded:
the Puntland Maritime Police Force, around 800 men strong, and the largest such unit in the country. But its abilities are limited....the force only had two small boats, hardly enough to adequately patrol the vast sea and apprehend suspects.
Link:https://www.bbc.co.uk/news/world-africa-46454055