How many {head coach} are to/by {Verne Gagne} ?
What is the number of head coaches Verne Gagne had?
How many head coaches did Verne Gagne have?
SELECT ( COUNT ( ?h ) AS ?f ) { ?h property:head_coach resource:Verne_Gagne }
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/P286> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q950279 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P286 wd:Q950279 }
7