SELECT count(*) FROM station AS T1 JOIN trip AS T2 JOIN station AS T3 JOIN trip AS T4 ON T1.id  =  T2.start_station_id AND T2.id  =  T4.id AND T3.id  =  T4.end_station_id WHERE T1.city  =  "Mountain View" AND T3.city  =  "Palo Alto"
How many trips started from Mountain View city and ended at Palo Alto city?
SELECT count ( * ) FROM station AS T1 JOIN trip AS T2 JOIN station AS T3 JOIN trip AS T4 ON T1.id = T2.start_station_id AND T2.id = T4.id AND T3.id = T4.end_station_id WHERE T1.city = `` Mountain View '' AND T3.city = `` Palo Alto ''
select count ( * ) from station as t1 join trip as t2 join station as t3 join trip as t4 on t1 . id = t2 . start_station_id and t2 . id = t4 . id and t3 . id = t4 . end_station_id where t1 . city = value and t3 . city = value
How many trips started from Mountain View city and ended at Palo Alto city ?