public int countPlayers(final boolean mustBeIn,
            final boolean mustNotFolded, final boolean mustNotAllIn) {
        int count = 0;
        
        for (Player player : players) {
            if ((!mustBeIn || !player.isOut())
                    && (!mustNotFolded || !player.hasFolded())
                    && (!mustNotAllIn || !player.isAllIn())) {
                count++;
            }
        }
        
        return count;
    }