How many {composer} are to/by {Charlie Parker} ?
Charlie Parker has what number of compositions?
How many compositions does Charlie Parker have?
SELECT ( COUNT ( ?e ) AS ?n ) { ?e property:composer resource:Charlie_Parker }
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/P86> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q103767 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P86 wd:Q103767 }
82