Compute statistics - Function to compute category statistics in aggregate