SPListItemCollection.Count Property
Gets the number of list items in the collection, excluding folders.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Property Value
Type: System.Int32A 32-bit integer that indicates the number of list items, excluding folders.