How many {inspired by} are for {Batman} ?
Which is the number of people that have been inspired by Batman?
How many people have been inspired by Batman?
SELECT ( COUNT ( ?t ) AS ?j ) { resource:Batman property:inspired_by ?t }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q2695156> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P941> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q2695156 wdt:P941 ?obj }
5