pig now works for basic aggregations