How many {appointed by} are to/by {pope} ?
The pope appoints how many people?
How many people are appointed by the pope?
SELECT ( COUNT ( ?a ) AS ?d ) { ?a property:appointed_by resource:pope }
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/P748> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q19546 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P748 wd:Q19546 }
26