Revert "[2/4] reduce cookie tracking: count cookies"

This reverts commit 33ae78ef43528c11cdf0f2577d23fda763133736.