How many {located on terrain feature} are to/by {Andaman Sea} ?
Which is the number of locations on the terrain feature in andaman sea?
how many locations on terrain feature are there to andaman sea?
SELECT ( COUNT ( ?m ) AS ?a ) { ?m property:located_on_terrain_feature resource:Andaman_Sea }
SELECT (COUNT(?sub) AS ?subs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?sub .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P706> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q47632 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P706 wd:Q47632 }
5