How many {newspaper format} are to/by {magazine} ?
How many newspapers are laid out the same as magazines?
How many newspapers are formatted as magazines?
SELECT ( COUNT ( ?l ) AS ?h ) { ?l property:newspaper_format resource:magazine }
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/P3912> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q41298 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P3912 wd:Q41298 }
50