code: def test_nans(self):
      data = pd.Series(
          [-5, -4, -3, np.inf, np.NINF, np.nan, 1, 2, 3, 4, 5]
      )
      thresholds = pd.Series([np.inf, np.NINF, None, 0, np.nan])
      answers = pd.Series([9, 0, 0, 4, 0])
      self.compare_answers(data, thresholds, answers)
  
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 4 for calling the TestCountLessThan obj's underlying member method code with example usage: obj.test_nans() without return types