How many {currency} are to/by {renminbi} ?
Renminbi currency has what value?
What is the value of the renminbi currency?
SELECT ( COUNT ( ?o ) AS ?j ) { ?o property:currency resource:renminbi }
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/P38> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q39099 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P38 wd:Q39099 }
3