Count Property
The Count property of the SPFieldCollection class gets the number of fields in the collection.
Property Value
A 32-bit integer that represents the number of fields.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security