Totally simple. There are two ways!
A) you can make a counter rule that counts a variable up and if it has enough counts then you can say it’s true.
Modifying of my script that my script make a second check or third check later if you get a negative feedback.
If you want I will develop something within the next few days and can show you an example. At the moment my time is less.