How many {conferred by} are to/by {German Democratic Republic} ?
The German Democratic Republic has conferred with what number?
How many has the German Democratic Republic conferred with?
SELECT ( COUNT ( ?w ) AS ?g ) { ?w property:conferred_by resource:East_Germany }
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/P1027> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q16957 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P1027 wd:Q16957 }
5