code: def compare_results(self, data, thresholds, results):
      for threshold, result in zip(thresholds, results):
          primitive = self.primitive(threshold=threshold)
          function = primitive.get_function()
          assert function(data) == result
          assert isinstance(function(data), np.int64)
  
imports: import numpy
  import pandas
  from pytest import raises
  from featuretools.primitives import CountAboveMean, CountGreaterThan, CountInsideNthSTD, CountInsideRange, CountLessThan, CountOutsideNthSTD, CountOutsideRange
  from featuretools.tests.primitive_tests.utils import PrimitiveTestBase
label_desc: Use image node_id 1 for calling the TestCountGreaterThan obj's underlying member method code with example usage: obj.compare_results(data, thresholds, results) without return types