code: def test_count_token():
      messages = [
          {
              "role": "system",
              "content": "you are a helpful assistant. af3758 *3 33(3)",
          },
          {
              "role": "user",
              "content": "hello asdfjj qeweee",
          },
      ]
      assert count_token(messages) == 34
      assert percentile_used(messages) == 34 / 4096
      assert token_left(messages) == 4096 - 34
  
      text = "I'm sorry, but I'm not able to"
      assert count_token(text) == 10
      assert token_left(text) == 4096 - 10
      assert percentile_used(text) == 10 / 4096
  
imports: from autogen.token_count_utils import count_token, num_tokens_from_functions, token_left, percentile_used, get_max_token_limit
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: test_count_token() without return types