How many Thai restaurants can be found in San Pablo Ave, Albany?
Thai restaurant refers to food_type = 'thai'; San Pablo Ave Albany refers to street_name = 'san pablo ave' AND T1.city = 'albany'
SELECT COUNT(T1.id_restaurant) FROM generalinfo AS T1 INNER JOIN location AS T2 ON T1.id_restaurant = T2.id_restaurant WHERE T1.food_type = 'thai' AND T1.city = 'albany' AND T2.street_name = 'san pablo ave'
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, 
