This script collects data points that show the number of users. The detail data in each case contains more useful information - username, session name, client computer, logon time etc..
The stored procedures interpret this information (stored as a single text field) and give the following information:-
User, Server, Session, Session ID, State, Log on Date, Last Detected Date, Count
This information is grouped so that you get a count showing the number of times each user/session/sessionid with the same logon date was picked up by the KS. The date that this information was last picked up by the KS is also shown (so you could see how long each user has been connected for).