SELECT DISTINCT COUNT(?uri) WHERE {?uri <http://dbpedia.org/property/headquarters> <http://dbpedia.org/resource/Stockholm> . }
Stockholm is the HQ of how many things?
SELECT DISTINCT COUNT ( ?x ) WHERE { ?x property:headquarters resource:Stockholm . }
79
There are [79] things whose headquarters are in Stockholm.
Stockholm is the HQ of [79] things.