Choose the Right Aggregation: Sum, Count, Average, and Distinct Count