Added Chain Cookies Statistics and did some minor code optimization on statistics