How many {grants academic degree} are for {University of Sydney} ?
What programs are offered at U of S?
How many degree programs does the University of Sydney offer?
SELECT ( COUNT ( ?i ) AS ?m ) { resource:University_of_Sydney property:grants ?i }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q487556> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P5460> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q487556 wdt:P5460 ?obj }
13