How many {patron saint} are to/by {Gabriel} ?
With Gabriel, how many patron saints are there?
How many patron saints are with the {Gabriel} ?
SELECT ( COUNT ( ?x ) AS ?i ) { ?x property:patron_saint resource:Gabriel }
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/P417> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q81989 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P417 wd:Q81989 }
13