renamed countAnonymousUserEvents for clarity, and bug fix in makePersonLevel