How many {owned by} are to/by {NSDAP} ?
Who is the owner of NSDAP?
Who owns NSDAP?
SELECT ( COUNT ( ?x ) AS ?u ) { ?x property:owned_by resource:National_Socialist_German_Workers'_Party }
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/P127> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q7320 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P127 wd:Q7320 }
5