Add aggregation functions to PHP SQLHelper.