If you set the variable every tick, it should always contain the object count, I don't see why you need to set the initial value. But you probably don't need to use a variable for this though, you can use "System: Compare two values" and check if "object.Count <= 0".