Global Variables is one of the source-code metrics Understand computes across 17+ languages — browse them in the GUI, export and track them, or script them with the Python API.
Global Variables
API ID: CountCFileGlobalVariablesLanguages: C, C++
Targets: Files
For C/C++ files, the number of Global Variables.
This is approximately how many entities would appear in the Information Browser for that category.