Scoped GlideAggregate - GlideAggregate(String tableName)

Creates a GlideAggregate object on the specified table.

Table 1. Parameters
Name Type Description
tableName String Name of the table.
var count = new GlideAggregate('incident');