How many {anthem} are for {Bulgaria} ?
Which is the number of anthems for Bulgaria?
How many anthems are for Bulgaria?
SELECT ( COUNT ( ?s ) AS ?x ) { resource:Bulgaria property:anthem ?s }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q219> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P85> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q219 wdt:P85 ?obj }
1