code: def count_file_lines(filenames):
      """Counts the number of lines in the file(s)."""
  
      def _count_lines(fn):
          with open(fn, "rb") as f:
              i = -1
              for i, _ in enumerate(f):
                  pass
              return i + 1
  
      if not isinstance(filenames, (list, tuple)):
          filenames = [filenames]
      num_lines = np.sum([_count_lines(fn) for fn in filenames])
      return num_lines
  
file_path: texar/texar/tf/data/data_utils.py
imports: import os
  import sys
  import tarfile
  import zipfile
  import collections
  import numpy
  from six.moves import urllib
  import requests
  import tensorflow
  from texar.tf.utils import utils_io
label_desc: Use image node_id 7 for calling a global function with example usage: count_file_lines(filenames) and returns: num_lines, unknown