How many {executive producer} are to/by {Joseph Barbera} ?
How many times has Joseph Barbera been an executive producer?
SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P1431 wd:Q190373 }
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/P1431> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q190373 .
} 

Joseph Barbera has been an executive producer how many times?