SELECT count(*) FROM trip AS T1 JOIN station AS T2 ON T1.end_station_id  =  T2.id WHERE T2.city !=  "San Francisco"
Count the number of trips that did not end in San Francisco city.
SELECT count ( * ) FROM trip AS T1 JOIN station AS T2 ON T1.end_station_id = T2.id WHERE T2.city ! = `` San Francisco ''
select count ( * ) from trip as t1 join station as t2 on t1 . end_station_id = t2 . id where t2 . city ! = value
Count the number of trips that did not end in San Francisco city .