How many {license} are to/by {copyright} ?
How many copyrighted licenses exist?
How many licenses are also copyrighted?
SELECT ( COUNT ( ?v ) AS ?n ) { ?v property:copyright_license resource:copyright }
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/P275> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q12948581 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P275 wd:Q12948581 }
0