Query Semaphore Object Count

n = semo:value()

Query the count on the semaphore.

For a regular, counting, semaphore this is the number of resources available for use.

For a mutex (binary semaphore), this indicates the number of times semo:wait() has been called within this task.