How many {depicts} are to/by {Osiris} ?
Give me the number of depictions there are of Osiris.
How many depictions are there of Osiris?
SELECT ( COUNT ( ?y ) AS ?e ) { ?y property:depicts resource:Osiris }
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/P180> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q46491 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P180 wd:Q46491 }
23