the hokusō line has how many railway terminus?
Value
2
class entity
rail.railway_terminus m.02pkk70
rail.railway_terminus rail.railway
Railway terminus Hokusō Line
count none
rail.railway.terminuses
Terminuses
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX : <http://rdf.freebase.com/ns/> 
SELECT (COUNT(?x0) AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :rail.railway_terminus . 
VALUES ?x1 { :m.02pkk70 } 
?x1 :rail.railway.terminuses ?x0 . 
FILTER ( ?x0 != ?x1  )
}
}
(COUNT (AND rail.railway_terminus (JOIN (R rail.railway.terminuses) m.02pkk70)))