How many {twinned administrative body} are to/by {Argenteuil} ?
Argenteuil has what number of twinned administrative bodies?
How many twinned administrative bodies does Argenteuil have?
SELECT ( COUNT ( ?e ) AS ?n ) { ?e property:twinned_administrative_body resource:Argenteuil }
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/P190> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q181946 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P190 wd:Q181946 }
4