How many {stock exchange} are for {Toshiba} ?
What is Toshiba's stock exchange?
What's the stock exchange for Toshiba?
SELECT ( COUNT ( ?l ) AS ?u ) { resource:Toshiba property:stock_exchange ?l }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q49125> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P414> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q49125 wdt:P414 ?obj }
4