Examine FieldCount to determine the number of fields listed by the Fields property. For datasets with dynamically created fields, FieldCount may differ each time a dataset is opened. For datasets with persistent fields, FieldCount should be unchanged each time a dataset is open.

Note: FieldCount includes only the fields listed by the Fields property. Any aggregated fields listed by the AggFields property are not included in the count.