This method of the IReadCookie interface retrieves the number of items.
public abstract int getCount();