WebSession.Cookies.Count
From Xojo Documentation
Method
Returns (as an Integer) the number of unexpired cookies for the current session.
See Also
WebSession.Cookies.NameAtIndex, WebSession.Cookies.Remove, WebSession.Cookies.Set, WebSession.Cookies.Value