How many {commemorates} are to/by {Queen Victoria} ?
What is the number of people that Queen Victoria commemorated?
How many people did Queen Victoria commemorate?
SELECT ( COUNT ( ?l ) AS ?s ) { ?l property:commemorates resource:Queen_Victoria }
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/P547> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q9439 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P547 wd:Q9439 }
10