code: def get_aggregates(self, request):
          
          pipeline = crud_pipeline_factory.get_aggregates_pipeline(
              configuration=self.configuration)
  
          return pipeline(request=request)
docs: Implements the Get aggregates (total number of objects filtered)
  
          maps to PATCH /api/object_name/get_aggregates/ in rest semantics
          :param request: rip.Request
          :return: rip.Response