Provides a view of record counts for source x categories.
Setting the global query alters the set of records for which the counts are computed.