How many {industry} are for {Apple Inc.} ?
How many industries are connected with the {Apple Inc.} ?
SELECT (COUNT(?obj) AS ?value ) { wd:Q312 wdt:P452 ?obj }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q312> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P452> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

Regarding Apple Inc,, how many industries are connected with it?