Many aggregated columns / using custom aggregation function for pivot