In restaurants with a review of 2, how many restaurants have a street number below 500?
review of 2 refers to review = 2; street number below 500 refers to street_num < 500
SELECT COUNT(T1.id_restaurant) FROM location AS T1 INNER JOIN generalinfo AS T2 ON T1.id_restaurant = T2.id_restaurant WHERE T2.review = 2 AND T1.street_num < 500
database name:db_id restaurant
geographic table geographic Cols: city dtype text, country dtype text, region dtype text, 
generalinfo table generalinfo Cols: id restaurant dtype integer, label dtype text, food type dtype text, city dtype text, review dtype real, 
location table location Cols: id restaurant dtype integer, street number dtype integer, street name dtype text, city dtype text, 
