Add distinct values endpoint
Add endpoint for retrieving resource counts by field
Add endpoint for getting group sum of a given field