How many {honorific prefix} are to/by {Dame} ?
How many honors has Madame received?
how many honors does dame have?
SELECT ( COUNT ( ?r ) AS ?d ) { ?r property:honorific_prefix resource:dame }
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/P511> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q901407 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P511 wd:Q901407 }
16