Returns the number of worksheets in the workbook.

public int Count{ get; }
Public ReadOnly Property Count() As Integer
int numSlides = slides.Count;
Dim numSlides As Integer = slides.Count