code: def data_indicators(self, indicators, entity_count):
          
          data = []
          # process indicator objects
          for xid, indicator_data in indicators.items():
              entity_count += 1
              if isinstance(indicator_data, dict):
                  data.append(indicator_data)
              else:
                  data.append(indicator_data.data)
              del indicators[xid]
              if entity_count >= self._batch_max_chunk:
                  break
          return data, entity_count
docs: Process Indicator data.