How many {copyright owner} are to/by {Apple Inc.} ?
How many copyrights is owned by Apple?
What is the number of copyrights that Apple owns?
SELECT ( COUNT ( ?s ) AS ?z ) { ?s property:copyright_holder resource:Apple }
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/P3931> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q312 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P3931 wd:Q312 }
39