How many {notable work} are for {Muriel Spark} ?
Muriel Spark created what number of notable works?
How many notable works did Muriel Spark create?
SELECT ( COUNT ( ?i ) AS ?b ) { resource:Muriel_Spark property:notable_work ?i }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q233956> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P800> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q233956 wdt:P800 ?obj }
16