code: def comment_count(lines):
      pattern = re.compile(
          r"^(//|#|'|--|/\*|'''|\"\"\"|--\[\[|<!--|%|%{|\(\*)"
      )
      return sum([1 for line in lines if pattern.match(line)])
  
imports: from marker.schema import Span, Line, Page
  import re
  from typing import List
  import fitz
label_desc: Use image node_id 2 for calling a global function with example usage: comment_count(lines) and returns: sum