How many {takes place in fictional universe} are to/by {Marvel Cinematic Universe} ?
How many fictional universe movies are from Marvel?
How many movies in the fictional universe are from the Marvel Cinematic Universe?
SELECT ( COUNT ( ?f ) AS ?a ) { ?f property:takes_place_in_fictional_universe resource:Marvel_Cinematic_Universe }
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/P1434> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q642878 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P1434 wd:Q642878 }
49