public final int getMaxCount() {
        BoxingConfig config = BoxingManager.getInstance().getBoxingConfig();
        if (config == null) {
            return BoxingConfig.DEFAULT_SELECTED_COUNT;
        }
        return config.getMaxCount();
    }
get the max count set before
boxing/src/main/java/com/bilibili/boxing/AbsBoxingViewActivity.java