Issue #2359021 by FluxSauce: Added support to manually specify extension count thresholds.