count in command line arg in script for data generation