In 2017, there were an estimated 30 million recreational boats in the world. These are boats and ships dedicated to leisure, whatever their size. This figure does not include cruise ships. This includes fishing vessels with and without GPS system.
If you want to know more, please go here. This data was sourced from the book Transportation and the Belt and Road Initiative, in which more data as well as the original primary sources of the data are available.