code: def reset_aggregations(self):
          
  
          temp_search = self.search.to_dict()
          if 'aggs' in temp_search.keys():
              del temp_search['aggs']
              self.search.from_dict(temp_search)
          self.parent_agg_counter = 0
          self.child_agg_counter = 0
          self.child_agg_counter_dict = defaultdict(int)
docs: Remove all aggregations added to the search object