class_docstr: Test the text utilities for creating and cleaning features.
class_docstr_tok: ["Test","the","text","utilities","for","creating","and","cleaning","features","."]
code: def test_count_words_dict_type(self):
      sa = tc.SArray(
          [
              {"Alice bob mike": 1, "Bob Alice Sue": 0.5, "": 100},
              {
                  "a dog cow": 0,
                  "a dog cat ": 5,
                  "mice dog": -1,
                  "mice cat": 2,
              },
          ]
      )
      result = text_analytics.count_words(sa)
      expected = [
          {"bob": 1.5, "mike": 1.0, "sue": 0.5, "alice": 1.5},
          {"a": 5.0, "mice": 1.0, "dog": 4.0, "cow": 0.0, "cat": 7.0},
      ]
      self.assertEqual(result.dtype, dict)
      self.sframe_comparer._assert_sarray_equal(result, expected)
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import math
  import unittest
  import warnings
  import turicreate
  import turicreate.toolkits.text_analytics
  from .None import util
label_desc: Use image node_id 8 for calling the FeatureEngineeringTest obj's underlying member method code with example usage: obj.test_count_words_dict_type() without return types