The countField method returns the number of fields with the specified name.
countField( fieldname [, case] )
| Argument | Description | 
|---|---|
| fieldname | (string) The name of the field to count. | 
| case | (boolean) A boolean that specifies whether fieldnameis case sensitive. The field name is case sensitive by default (true). | 
(Number) The number of fields with the specified name.
|  |