How many {capital} are to/by {Kassel} ?
How many capital's does Kassel have?
SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P36 wd:Q2865 }
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/P36> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q2865 .
} 

What are the capitals of Kassel?