How many {location} are to/by {County Down} ?
County Down is nearby how many locations?
How many locations are nearby County Down?
SELECT ( COUNT ( ?f ) AS ?b ) { ?f property:location resource:County_Down }
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/P276> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q190684 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P276 wd:Q190684 }
5