AggregateLimits collection, AliasTableName collection, AppendQueries collection, Association collection, AxisLabels collection, CategoryItems collection, ColorRanges collection, Columns collection, Controls collection, ControlsDropDown object, ControlsListBox object, ColorRanges collection, , DerivableQueries collection, DerivedItems collection, DerivedTables collection, DMCatalogItem collection, DMResults collection, Documents collection, EventScripts collection, Fact collection, Joins collection, Images collection, Limits collection, LimitValues collection, LocalJoins, LocalResults, OLAPCatalogNew object, OLAPDimensionNew collection, OLAPLabel, OLAPLabels, OLAPLevelOrHierarchyNew collection, OLAPMeasure, OLAPMeasures, OLAPSlicer, OLAPSlicers, Parentheses collection, PivotLabels collection, PivotLabelTotals collection, QueryLabel object, RecentFiles collection, Requests collection, Results collection, Sections collection, SortItems collection, Sorts, TargetFact collection, Toolbars collection, TopicItems collection, Topics collection, TopLabels collection, TrendLines collection
Returns the number of items in a collection. The Count property is a standard property of all collections.
This example shows how to determine the number of sections in a document and columns in a Results section: