code: def test_vocab_token_counts_with_max_lines(self):
      # vocab-1 has 2 lines, vocab-2 has 3
      token_counts = tokenizer.vocab_token_counts(self.vocab_path, 5)
  
      expected = {
          "lollipop": 8,
          "reverberated": 12,
          "kattywampus": 11,
          "balderdash": 10,
      }
      self.assertDictEqual(expected, token_counts)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import random
  import six
  from six.moves import range
  from tensor2tensor.data_generators import tokenizer
  import tensorflow.compat.v1
label_desc: Use image node_id 7 for calling the TestTokenCounts obj's underlying member method code with example usage: obj.test_vocab_token_counts_with_max_lines() without return types