Add basic aggregate function to share page