I am unable to use recordset.Fields.Count, it gives me the error:

BC30456: 'Fields' is not a member of 'DreamweaverCtrls.DataSet'

Is there other ways, I can count the fields?