How many {separated from} are to/by {Northwest Territories} ?
What number are apart from the northwest territories?
how many are separated from northwest territorires?
SELECT ( COUNT ( ?q ) AS ?x ) { ?q property:separated_from resource:Northwest_Territories }
SELECT (COUNT(?sub) AS ?subs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?sub .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P807> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q2007 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P807 wd:Q2007 }
4