reduce cookie tracking (2/4): add a way to count cookies

Change-Id: I471e284104467cd299072fbb6704f30d61e6ac02
Merge pull request #3 from CyanogenMod/cm-11.0

reduce cookie tracking (2/4): add a way to count cookies