When using the --thread-count option and specifying --file-pid, it would be expected that you should be able to somehow alert when the thread number exceeds the amount defined.
It may also make sense to make this it's own script when checking specific PIDs instead of a general process check or to create a script that just focuses on thread checks.