code: def get_num_records(self, table_name):
      return self._client.search_and_filter().summarize(
          table_name,
          {"columns": [], "summaries": {"total": {"count": "*"}}},
      )["summaries"][0]["total"]
  
imports: import os
  import importlib
  from unittest.mock import patch
  import pandas
  import pytest
  from mindsdb_sql import parse_sql
  from mindsdb.tests.unit.executor_test_base import BaseExecutorTest
label_desc: Use image node_id 4 for calling the TestXetaHandler obj's underlying member method code with example usage: obj.get_num_records(table_name) and returns: self