Total number of entries in a leaderboard?

Is there any way to obtain the total number of entries in a leaderboard ? I want to display something like “Your score is 5th out of 12,343 players” when I display each leaderboard in my game.

The current leaderboard APIs do not return the total amount of leaderboard entries due to performance considerations, it’d be best if you only display the rank alone.