How many {habitat} are for {Varanus komodoensis} ?
What is the number of habitats that varanus komodoensis has?
how many habitats does varanus komodoensis have?
SELECT ( COUNT ( ?z ) AS ?p ) { resource:Varanus_komodoensis property:habitat ?z }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q4504> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2974> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q4504 wdt:P2974 ?obj }
0