Adding stats counter