Perspective Sessions and Metrics

Is there a way to track the number of user perspective sessions? Looking to trend the current, min and max number of users that sign in. also of interest is breaking that down by type of device; i.e. iOS, Android, PC.

Take a look at system.perspective.getSessionInfo.
https://docs.inductiveautomation.com/display/DOC81/system.perspective.getSessionInfo