         push: (record) -> @inner.push record
         format: formatter
         value: -> @inner.value() / data.getAggregator(@selector...).inner.value()
+        numInputs: wrapped(x...)().numInputs
 
 #default aggregators & renderers use US naming and number formatting
 aggregators = do (tpl = aggregatorTemplates) -> 

            @sumDenom += parseFloat(record[denom]) if not isNaN parseFloat(record[denom])
        value: -> @sumNum/@sumDenom
        format: formatter

    sumOverSumBound80: (upper=true, formatter=usFmt) -> ([num, denom]) -> (data, rowKey, colKey) ->
        sumNum: 0

                rendererOptions: opts.rendererOptions
                cols: [], rows: []

            numInputsToProcess = opts.aggregators[aggregator.val()]([])().numInputs
            vals = []
            @find(".pvtRows li span.pvtAttr").each -> subopts.rows.push $(this).data("attrName")
            @find(".pvtCols li span.pvtAttr").each -> subopts.cols.push $(this).data("attrName")
            @find(".pvtVals select.pvtAttrDropdown").each ->
                if numInputsToProcess == 0
                    $(this).remove()
                else
                    numInputsToProcess--
                    vals.push $(this).val() if $(this).val() != ""

            if numInputsToProcess != 0
                pvtVals = @find(".pvtVals")
                for x in [0...numInputsToProcess]
                    newDropdown = $("<select class='pvtAttrDropdown'>")
                        .append($("<option>"))
                        .bind "change", -> refresh()
                    for attr in shownAttributes
                        newDropdown.append($("<option>").text(attr))
                    pvtVals.append(newDropdown)

            if initialRender
                vals = opts.vals
                i = 0
                @find(".pvtVals select.pvtAttrDropdown").each ->
                    $(this).val vals[i]
                    i++
                initialRender = false

            subopts.aggregatorName = aggregator.val()
            subopts.vals = vals
