Returns the number of Condition objects in the current ConditionalFormat object.

public int Count{ get; }
Public ReadOnly Property Count() As Integer
          ExcelApplication xla = new ExcelApplication();
          Workbook wb = xla.Create();
          ConditionalFormat cf = wb.CreateConditionalFormat();
          int numConditions = cf.Count;
        
          Dim xla As New ExcelApplication()
          Dim wb As Workbook = xla.Create()
          Dim cf As ConditionalFormat = wb.CreateConditionalFormat()
          Dim numConditions As Integer = cf.Count