How many {notable work} are for {Henrik Ibsen} ?
How many notable works are there by Henrik Ibsen?
How many notable work done by the Henrik Ibsen} ?
SELECT ( COUNT ( ?d ) AS ?e ) { resource:Henrik_Ibsen property:notable_work ?d }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q36661> .
?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:Q36661 wdt:P800 ?obj }
7