code: def test_gpt_vision_token_counting():
      messages = [
          {
              "role": "user",
              "content": [
                  {"type": "text", "text": "What’s in this image?"},
                  {
                      "type": "image_url",
                      "image_url": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg",
                  },
              ],
          }
      ]
      tokens = token_counter(
          model="gpt-4-vision-preview", messages=messages
      )
      print(f"tokens: {tokens}")
  
file_path: litellm/litellm/tests/test_token_counter.py
imports: import sys, os
  import traceback
  import pytest
  import time
  from litellm import token_counter, encode, decode
label_desc: Use image node_id 4 for calling a global function with example usage: test_gpt_vision_token_counting() without return types