fixed user_count query in statistics view