simplify num_recent_uniques slightly