Count Property From Microsoft Graph Visual Basic previous page next page Count Property Returns the number of objects in the specified collection. Read-only Long. Example This example displays the number of chart groups in the chart. MsgBox "The chart contains " & _ myChart.ChartGroups.Count & _ " chart groups."