How many {language of work or name} are for {Spotify} ?
Within Spotify, how many artist are there?
How many artists does Spotify offer?
SELECT ( COUNT ( ?t ) AS ?w ) { resource:Spotify property:language_of_work_or_name ?t }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q689141> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P407> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q689141 wdt:P407 ?obj }
22