def __get_restaurant_criteria(rest: dict) -> list:
    """Get the relevant restaurant criteria."""
    # The criteria values we are interested in are as follows:
    # Index 0: Rating
    # Index 1: Review count
    # Index 2: Price
    # For restaurant price stats, Yelp returns a string of dollar signs
    # for the price tier. We need it as a number value.
    return [
        rest["rating"],
        rest["review_count"],
        len(rest["price"])
    ]