How many {creator} are to/by {Wassily Kandinski} ?
What is the number of works made by Wassily Kandinsky?
How many works has Wassily Kandinsky made?
SELECT ( COUNT ( ?l ) AS ?r ) { ?l property:creator resource:Wassily_Kandinsky }
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/P170> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q61064 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P170 wd:Q61064 }
385