How many {capital of} are for {Paris} ?
Referring to Paris, what is the capital?
What's the capital of Paris?
SELECT ( COUNT ( ?i ) AS ?d ) { resource:Paris property:capital_of ?i }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q90> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1376> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q90 wdt:P1376 ?obj }
2