Improved active licesed user count accuracy.
Minor Edits
New Script

Returns the total number of licensed users
Minor edits

Changed logging levels to provide less output as the script is run.  To
see the output, change logging to DEBUG.