DataSources.Count The number of items in the collection. public int Count { get; } See also:Class DataSources