added number of instances to vm