Well if the gameplay is specifically 'until the object is used', you can do what you have now the variable >= 25 with condition system compare 2 values : object.count=0
This means if variable is greater than or equal to 25, and number of this object that exists is 0 then create the object. It will only trigger again if you use/destroy the object.