The size method of the CookieDictionary class returns an integer that specifies the number of items in the CookieDictionary, ObjectDictionary, or RequestDictionary.
public int size();