InterSystems FAQ rubric
It can be obtained by using the Size query of the system-provided %SYS.GlobalQuery class.
Globals are multidimensional sparse arrays which are stored in InterSystems Data Platform. Everything in InterSystems Products is stored in Globals: Classes, Tables, Documents, Code.