How many {sponsor} are for {FC Bayern Munich} ?
Who is the sponsor of FC Bayern Munich?
Who sponsors the FC Bayern Munich?
SELECT ( COUNT ( ?m ) AS ?f ) { resource:FC_Bayern_Munich property:sponsor ?m }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q15789> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P859> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q15789 wdt:P859 ?obj }
1