save calculation of length of ml_repl_module_decls