How many {architectural style} are for {Peterhof Palace} ?
Which is the number of architectural styles that are detectable in the Peterhof Palace?
How many architectural styles are detectable in the Peterhof Palace?
SELECT ( COUNT ( ?o ) AS ?d ) { resource:Peterhof_Palace property:architectural_style ?o }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1258473> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P149> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q1258473 wdt:P149 ?obj }
5