How to set an activity detection rule for a user who has visited more than a threshold in last n days?