Anonymous user stats

Original code by CM, AOKP

Change-Id: Ib8ce18b8c20274a978e29fd42b540af37c90ec28