How many {producer} are to/by {Jimmy Page} ?
Which is the number of producers that Jimmy Page has?
Jimmy Page has how many producers?
SELECT ( COUNT ( ?j ) AS ?k ) { ?j property:producer resource:Jimmy_Page }
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/P162> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q165467 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P162 wd:Q165467 }
69