How many {voice actor} are to/by {Angela Lansbury} ?
In how many media works has Angela Lansbury voice acted in?
How many media works has Angela Lansbury voice acted in?
SELECT ( COUNT ( ?v ) AS ?n ) { ?v property:voice_actor resource:Angela_Lansbury }
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/P725> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q206856 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P725 wd:Q206856 }
5