added workflow counter in func_to_mni workflow