SELECT DISTINCT COUNT(?uri) WHERE { ?x <http://dbpedia.org/property/music> <http://dbpedia.org/resource/Jerry_Bock> . ?x <http://dbpedia.org/ontology/basedOn> ?uri . }
Jerry Bock's musicals has been adapted from how many things?
SELECT DISTINCT COUNT ( ?v ) WHERE { ?n property:based_on ?v . . ?n property:music resource:Jerry_Bock }
9
There are [9] things where musicals with Jerry Bock are based on.
There are things on which musicals with Jerry Bock are based.
There are [9] things where musicals with him are based on.
There are  [9] things that Jerry Bock's music relies on.