In 2015, there were 335 million commercial vehicles in the world dedicated to road transportation. This is excluding passenger vehicles (personal vehicles). This includes trucks, commercial cars, and every other commercial vehicles.
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.