Specify number of instances to create.