Add endpoint for simple group by on arbitrary field
Add projection to only return construction year for stats_by endpoint