How many {voice actor} are to/by {Billy Connolly} ?
How many voices to Billy Connolly have?
Billy Connolly (Voice actor)  has how many voices?
SELECT ( COUNT ( ?b ) AS ?k ) { ?b property:voice_actor resource:Billy_Connolly }
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/Q298838 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P725 wd:Q298838 }
4