code: def _get_dataset_size(self, files: List[str]) -> int:
      result = 0
      for file in files:
          table = pq.read_table(file)
          result += table.num_rows
      return result
  
file_path: tfx/tfx/components/transform/executor_on_parquet_test.py
imports: import os
  from typing import List
  import pyarrow
  import pyarrow.parquet
  import tensorflow
  from tfx.components.transform import executor
  from tfx.components.transform import executor_test
  from tfx.dsl.io import fileio
  from tfx.proto import example_gen_pb2
  from tfx.utils import io_utils
  from tfx_bsl.coders import example_coder
  from tensorflow_metadata.proto.v0 import schema_pb2
label_desc: Use image node_id 1 for calling the ExecutorOnParquetTest obj's underlying member method code with example usage: obj._get_dataset_size(files) and returns: result