The GetAliveSessionCount method is available for GAMRepository as well as for GAM external objects.
GAMRepository.GetAliveSessionCount(out: GAMError Collection): int
This method returns the number of sessions in all the repositories which are active (Status = Active). The only way to execute this method is by connecting to GAM Manager Repository.
This method was called GetActiveSessionCount until GeneXus 16 upgrade 7