code: def test_get_num_terms(self):
      self.assertEqual(self.term_cat_freq.get_num_terms(), 20)
  
file_path: scattertext/scattertext/test/test_termCategoryFrequencies.py
imports: from unittest import TestCase
  import numpy
  import pandas
  from scattertext.ScatterChartData import ScatterChartData
  from scattertext.TermCategoryFrequencies import TermCategoryFrequencies
label_desc: Use image node_id 2 for calling the TestTermCategoryFrequencies obj's underlying member method code with example usage: obj.test_get_num_terms() without return types