code: def item_show_count(total=None):
      def maybe_show_total(index):
          if total is not None:
              return "{0}/{1}".format(index, total)
          return str(index)
  
      def item_show_func(item, _it=iter(count())):
          if item is not None:
              # starting = False
              return maybe_show_total(next(_it))
          return "DONE"
  
      return item_show_func
  
imports: from itertools import count
  import click
  import pandas
  from .context_tricks import CallbackManager
label_desc: Use image node_id 1 for calling a global function with example usage: item_show_count(total) and returns: item_show_func, str, str, str, maybe_show_total