Added getNumberOfCurrentPlayers

If you don't like the apps.js name, feel free to give me a recommendation for an alternative name.