code: def test_dataset_summary_hetero_representation_length():
      dataset = FakeHeteroDataset(num_graphs=10)
      summary = Summary.from_dataset(dataset)
      num_lines = len(str(summary).splitlines())
  
      stats_len = len(Stats.__dataclass_fields__)
      len_header_and_border = 5
      num_tables = (
          3  # general, stats per node type, stats per edge type
      )
  
      assert num_lines == num_tables * (
          stats_len + len_header_and_border
      )
  
file_path: pytorch_geometric/test/data/test_dataset_summary.py
imports: import torch
  from torch import Tensor
  from torch_geometric.data.summary import Stats, Summary
  from torch_geometric.datasets import FakeDataset, FakeHeteroDataset
  from torch_geometric.testing import withPackage
label_desc: Use image node_id 5 for calling a global function with example usage: test_dataset_summary_hetero_representation_length() without return types