start counting how many instances are running