How many {nominated for} are to/by {Palme d'Or} ?
Palme d'Or was nominated for how many awards?
How many awards were the Palme d'Or nominated for?
SELECT ( COUNT ( ?x ) AS ?h ) { ?x property:nominated_for resource:Palme_d'Or }
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/P1411> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q179808 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P1411 wd:Q179808 }
13