How many {court} are to/by {Supreme Court of Canada} ?
The Supreme Court of Canada has how many courts?
How many courts are there in the Supreme Court of Canada?
SELECT ( COUNT ( ?k ) AS ?e ) { ?k property:court resource:Supreme_Court_of_Canada }
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/P4884> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q196615 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P4884 wd:Q196615 }
445