How many {contains settlement} are for {The Hague} ?
Which is the number of contain settlements relate to The Hague?
How many contain settlements relate to The Hague
SELECT ( COUNT ( ?f ) AS ?z ) { resource:The_Hague property:contains_settlement ?f }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q36600> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1383> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q36600 wdt:P1383 ?obj }
4