docs: public static long getSize(Path path, JobConf conf) throws IOException {
      FileSystem fs = path.getFileSystem(conf);
      FileStatus[] statuses = fs.globStatus(path);
  
      if (statuses == null) {
        throw new FileNotFoundException(String.format("File not found: %s", path));
      }
  
      long size = 0;
      for (FileStatus status : statuses) {
        size += fs.getContentSummary(status.getPath()).getLength();
      }
      return size;
    }