And use it in the loop count for each thread instaed of giving a hard coded number value. Problem is that the number of values in the inout files may vary based upon the requirement and I don't want ot go and change the thred/loop count each time by hand.
Thanks

