Limit Tripadvisor Restaurant Data by Number of Reviews

I am trying to scrape data for restaurants from trip advisor but I only want to go to pages that have 50 reviews or more. For example, I can't figure how to accomplish this with :not(:contains since if I say :not(:contains("41") it will also eliminate 141 and 417 as well. Since the selector doesn't exist for listings with 0 reviews, they get skipped. I also want to skip restaurants with 1-49 reviews.

Thank you for any help you can provide.

Url: https://www.tripadvisor.com/Restaurants-g40541-Brunswick_Maine.html

Sitemap:
{"_id":"brunswick_restaurants","startUrl":["https://www.tripadvisor.com/Restaurants-g40541-Brunswick_Maine.html"],"selectors":[{"id":"restaurant","type":"SelectorLink","parentSelectors":["_root"],"selector":"._1p0FLy4t a","multiple":true,"delay":0},{"id":"excellent","type":"SelectorText","parentSelectors":["restaurant"],"selector":"[data-value='5'] span.row_num.is-shown-at-tablet","multiple":false,"regex":"","delay":0}]}

Probably easier if you do a 2-stage scrape where in stage 1 you only scrape the name/restaurant link plus the no. of reviews.

In Excel, you can easily sort and filter out the low review rows. Then you use the remaining restaurant links for stage 2 scraping (needs another sitemap).

Thank you so much. This is just the kind of answer I was hoping for.