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