How many {depicted by} are for {Richard III} ?
Which is the number of works depicted by Richard III?
How many works are depicted by Richard III/
SELECT ( COUNT ( ?m ) AS ?z ) { resource:Richard_III property:depicted_by ?m }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q652011> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1299> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q652011 wdt:P1299 ?obj }
3