Port greenworks.getNumberOfPlayers API.