comparison of alive objects and number of scanned objects