How many {genre} are to/by {Ancient Greek art} ?
Which is the number of genres that there are in the Ancient Greek art?
How many genres are there in the {Ancient Greek art} ?
SELECT ( COUNT ( ?c ) AS ?h ) { ?c property:genre resource:ancient_Greek_art }
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/P136> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q1747618 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P136 wd:Q1747618 }
4