total number of threads in a jvm

Hi everyone, could you help me how can I get the total number of threads in a jvm. Not the current active threads o average active threads. For example on this server cldc172 in the instance SOA we had a maxium of 102 active threads. But I want to know the total number of threads that my jvm has, not just the active count of threads.

Thanks a lot, regards!!

Could a JVM plugin potentially be an option here? More info here → JMX extensions — Dynatrace Docs

Thanks,

Ari