How many {composer} are for {Fantasia} ?
What is the number of composes that worked on Fantasia?
How many composers worked on Fantasia?
SELECT ( COUNT ( ?w ) AS ?f ) { resource:Fantasia property:composer ?w }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q943192> .
?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> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q943192 wdt:P86 ?obj }
8