updated data to include group by and updated service to return summary for a store