code: def parse_segments_2(segment):
      index = segment.rfind(",") + 1
      data = segment[index:].split(":")
      return int(data[1])
  
file_path: serve/benchmarks/utils/gen_metrics_json.py
imports: import argparse
  import csv
  import json
  import re
label_desc: Use image node_id 6 for calling a global function with example usage: parse_segments_2(segment) and returns: int