code: def _build_aggregation(
      self,
      text_field: str = None,
      size: int = None,
  ) -> Dict[str, Any]:
      field = text_field or self.default_field
      terms_id = f"{self.id}_{field}" if text_field else self.id
      return TermsAggregation(
          id=terms_id,
          field=field,
      ).aggregation_request(size=size or self.DEFAULT_WORDCOUNT_SIZE)[
          terms_id
      ]
  
imports: import dataclasses
  import logging
  from typing import TYPE_CHECKING, Any, Dict, List, Optional, Union
  from argilla.server.daos.backend.query_helpers import aggregations
  from argilla.server.helpers import unflatten_dict
label_desc: Use image node_id 1 for calling the WordCloudAggregation obj's underlying member method code with example usage: obj._build_aggregation(text_field, size) and returns: TermsAggregation