How many {located in the administrative territorial entity} are to/by {Los Lagos Region} ?
Within Los Lagos Region how man territorial entities are there?
How many administrative territorial entities are located by Los Lagos Region?
SELECT ( COUNT ( ?m ) AS ?g ) { ?m property:located_in_the_administrative_territorial_entity resource:Los_Lagos_Region }
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/P131> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q2178 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P131 wd:Q2178 }
1261