How many {victory} are to/by {24 Hours of Le Mans} ?
Which were the number of the victories by 24 Hours of Le Mans?
How many victories were by 24 Hours of Le Mans?
SELECT ( COUNT ( ?p ) AS ?w ) { ?p property:victory resource:24_Hours_of_Le_Mans }
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/P2522> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q187579 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P2522 wd:Q187579 }
16