Creating Multiple VMs (10-100) using multiple templates in a vAPP

Hi There

I was looking for a way on which i can use the data source templates for deploying multiple VM approx (10 to 100 ) VM’s on vCloud director
I have seen below example for create multiple VM in vAPP but still we have to enter all the required VM list. but what in case someone trying to deploy multiple VM with same OS

It is not feasible to write such long script. Do we have any option were we can check enter the number of instances in quantity.