How many {head coach} are for {Borussia Dortmund} ?
Borussia Dortmund has how may head coaches?
How many head coaches are there for Borussia Dortmund?
SELECT ( COUNT ( ?l ) AS ?y ) { resource:Borussia_Dortmund property:head_coach ?l }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q41420> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P286> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q41420 wdt:P286 ?obj }
1