How many {official religion} are to/by {Protestantism} ?
What is the number of official religions for Protestantism?
How many official religions are there for the {Protestantism} ?
SELECT ( COUNT ( ?c ) AS ?h ) { ?c property:official_religion resource:Protestantism }
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/P3075> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q23540 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P3075 wd:Q23540 }
9