Invoke dynamic reduceBy