This was added for the case where a wildcard could result in all VM's being stopped and de-allocated.  In the legacy case where this would always be 1 (one), it is not broken.  In other words, the value of vmCount is set to the number of machines being stopped and de-allocated.  So, it will work as it always has for non-wildcard patterns.