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

this is a 4-patch commit, and I don't even want to know where
the others are.