code: def full_config_generator(generator_fn, *args):
      return len(list(generator_fn(*args)))
  
imports: import pytest
  from ludwig.utils.data_utils import load_json
  from tests.training_success.test_training_success import combiner_config_generator, defaults_config_generator, ecd_trainer_config_generator
label_desc: Use image node_id 1 for calling a global function with example usage: full_config_generator(generator_fn) and returns: len