How many {flag bearer} are to/by {Mijaín López} ?
Which is the number of flag bearers that Mijain Lopez has?
How many flag bearers does Mijain Lopez have?
SELECT ( COUNT ( ?d ) AS ?q ) { ?d property:flag_bearer resource:Mijaín_López }
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/P3022> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q462790 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P3022 wd:Q462790 }
6