SELECT DISTINCT COUNT(?uri) WHERE { ?x <http://dbpedia.org/property/music> <http://dbpedia.org/resource/James_Horner> . ?x <http://dbpedia.org/property/producer> ?uri . }
Give me a count of all the producers of all the movies whose music was done by James Horner?
SELECT DISTINCT COUNT ( ?j ) WHERE { ?u property:music resource:James_Horner . ?u property:producer ?j . }
278
There are [278] producers of the movies whose music was from James Horner.
There are [278] producers of films whose music was written by James Horner.
There are [278] producer of the movies whose music was from him.
There are [278] film producers whose music comes from him.
There are [278] producer of the movies whose music is the person.
There are [278] film producers whose music is human.