code: def update_negative_prompt_token_counter(text, steps):
      return update_token_counter(text, steps, is_positive=False)
  
imports: import datetime
  import mimetypes
  import os
  import sys
  from functools import reduce
  import warnings
  from contextlib import ExitStack
  import gradio
  import gradio.utils
  import numpy
  from PIL import Image, PngImagePlugin
  from modules.call_queue import wrap_gradio_gpu_call, wrap_queued_call, wrap_gradio_call
  from modules import gradio_extensons
  from modules import sd_hijack, sd_models, script_callbacks, ui_extensions, deepbooru, extra_networks, ui_common, ui_postprocessing, progress, ui_loadsave, shared_items, ui_settings, timer, sysinfo, ui_checkpoint_merger, scripts, sd_samplers, processing, ui_extra_networks, ui_toprow
  from modules.ui_components import FormRow, FormGroup, ToolButton, FormHTML, InputAccordion, ResizeHandleRow
  from modules.paths import script_path
  from modules.ui_common import create_refresh_button
  from modules.ui_gradio_extensions import reload_javascript
  from modules.shared import opts, cmd_opts
  import modules.generation_parameters_copypaste
  import modules.hypernetworks.ui
  import modules.textual_inversion.ui
  import modules.textual_inversion.textual_inversion
  import modules.shared
  from modules import prompt_parser
  from modules.sd_hijack import model_hijack
  from modules.generation_parameters_copypaste import image_from_url_text
label_desc: Use image node_id 10 for calling a global function with example usage: update_negative_prompt_token_counter(text, steps) and returns: update_token_counter