How many {currency} are for {Ryukyu Kingdom} ?
What currency does the Ryukyu Kingdom utilize?
What's the currency for the Ryukyu Kingdom?
SELECT ( COUNT ( ?w ) AS ?q ) { resource:Ryukyu_Kingdom property:currency ?w }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q28025> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P38> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q28025 wdt:P38 ?obj }
6