public int GetCookiesCount() { int count = 0; foreach (CookieCollection cc in m_list.Values) { count += cc.Count; } return count; }