closes #491, added check to prevent crash in getAnonUserCount