Among the restaurants on street number below 1000, how many of them are in Railroad St.?
street number below 1000 refers to street_num < 1000; Railroad St. refers to street_name = 'railroad'
SELECT COUNT(city) FROM location WHERE street_name = 'railroad' AND street_num < 1000
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, 
