code: def train_size_if_remove_in_otherset(data_sizes, mess_up_train):
      counts_in_other = count_train_in_other_set(mess_up_train)
      remain_sizes = []
      for direction, count in counts_in_other.items():
          remain_sizes.append(
              (
                  direction,
                  data_sizes[direction] - count,
                  data_sizes[direction],
                  count,
                  100 * count / data_sizes[direction],
              )
          )
      return remain_sizes
  
file_path: fairseq/examples/multilingual/data_scripts/remove_valid_test_in_train.py
imports: import os, sys
  import glob, itertools
  import pandas
label_desc: Use image node_id 8 for calling a global function with example usage: train_size_if_remove_in_otherset(data_sizes, mess_up_train) and returns: remain_sizes