How to use IF Command with bot data status?

Hi I’m looking to use an if command for when tested = 60. Basically

if tested = 60
then run shell command

There is no way to know the number of tested lines from within the context of the config. You can only do it from the job monitor, but it’s not able to execute shell scripts at the moment. maybe request a feature on github?