How many {developer} are to/by {Department of Defense} ?
In the Ministry of Defense How many developers are placed in them?
How many developers are placed at Department of Defense?
SELECT ( COUNT ( ?e ) AS ?l ) { ?e property:developer resource:United_States_Department_of_Defense }
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/P178> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q11209 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P178 wd:Q11209 }
9