(maint) refactor shared processorcount/totalprocessorcount behavior