aggregate data in data mining