How many {religion} are for {Han Chinese} ?
What is the number of Han Chinese religions?
How many religions are there with the {Han Chinese} ?
SELECT ( COUNT ( ?j ) AS ?w ) { resource:Han_Chinese_people property:religion ?j }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q42740> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P140> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q42740 wdt:P140 ?obj }
7