How many {grants academic degree} are to/by {Bachelor of Arts} ?
The Bachelor of Arts holds how many academic degree grants?
how many academic degree grants are there for Bachelor of arts?
SELECT ( COUNT ( ?g ) AS ?n ) { ?g property:grants resource:Bachelor_of_Arts }
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/P5460> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q1765120 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P5460 wd:Q1765120 }
17