Returns variables' count in global storage


SYNTAX

public static int Count ()


RETURN

int



EXAMPLE

using System;
using System.Text;
using PTLRuntime.NETScript;

namespace GlobalVariablesManager
{
     public class GlobalVariablesManager : NETIndicator
     {
         public override void Init()
         {            
             if(GlobalVariablesManager.Count()>0)
             {
                 Print("Your session obtains "+GlobalVariablesManager.Count()+" global variables");
             }
         }
     }
}