reduce cookie tracking: count cookies

Change-Id: I134916a098cbbfd1d1e02205218ef068c3a97c83