code: def get_imported_samples(counter):
      return (
          counter["all"]
          - counter["failed"]
          - counter["too_short"]
          - counter["too_long"]
          - counter["invalid_label"]
      )
  
file_path: DeepSpeech/training/deepspeech_training/util/importers.py
imports: import argparse
  import importlib
  import os
  import re
  import sys
  from .helpers import secs_to_hours
  from collections import Counter
label_desc: Use image node_id 2 for calling a global function with example usage: get_imported_samples(counter) and returns: unknown