In 2017, there were 3,700 billion passengers per km (Pkm) taking the train in the world.
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.