Limit the use of an item to 4 times

I’m trying to make a dagger break more everytime it kills an enemy. After being used 4 times, it can’t be used anymore, until a timer ends. How do I make it?

It activates using right click if that helps

I used timers for another object but it doesn’t work for the dagger

I want the dagger to delete for some time and then create another one when that timer ends

Add an instance variable named count to dagger then when you click to use it
set dagger.count += 1
if timer is greater than 1 && dagger.count = 4
Delete and reset timer if you need