How many {officeholder} are to/by {Jiang Zemin} ?
Jiang Zemin has what number of officeholders?
How many officeholders are there with {Jiang Zemin} ?
SELECT ( COUNT ( ?r ) AS ?k ) { ?r property:officeholder resource:Jiang_Zemin }
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/P1308> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q16597 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P1308 wd:Q16597 }
0