How many {named after} are to/by {Jean Dieudonné} ?
Give me the names named after Jean Dieudonne.
How many names are named after Jean Dieudonné} ?
SELECT ( COUNT ( ?i ) AS ?f ) { ?i property:named_after resource:Jean_Dieudonné }
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/P138> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q371957 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P138 wd:Q371957 }
4