How many {narrative location} are for {Os Lusíadas} ?
For the Os Lusiadas, how many narrative locations are there?
How many narrative locations are for the Os Lusíadas} ?
SELECT ( COUNT ( ?z ) AS ?u ) { resource:Os_Lusíadas property:narrative_location ?z }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q781898> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P840> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q781898 wdt:P840 ?obj }
4