How many {doctoral advisor} are for {Gottfried Wilhelm Leibniz} ?
How many doctoral advisors are determined for Gottfried Wilhelm Leibniz?
SELECT (COUNT(?obj) AS ?value ) { wd:Q9047 wdt:P184 ?obj }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q9047> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P184> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

Which is the number of the doctoral advisers that are determined for Gottfried Wilhelm Leibniz?