Xp counter