How many {patron saint} are for {Poland} ?
In Portland, how many patron saints are there?
How many patron saints are in Poland?
SELECT ( COUNT ( ?b ) AS ?f ) { resource:Poland property:patron_saint ?b }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q36> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P417> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q36 wdt:P417 ?obj }
2