How many {official name} are for {Almaty} ?
How many different names does Almaty have?
How many names are there for Almaty?
SELECT ( COUNT ( ?r ) AS ?d ) { resource:Almaty property:official_name ?r }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q35493> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1448> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q35493 wdt:P1448 ?obj }
0