Extracting number of active users by date range