How many {programmer} are to/by {Yuji Naka} ?
Yuji Naka has what number of programmers?
How many programmers does Yuji Naka have?
SELECT ( COUNT ( ?l ) AS ?p ) { ?l property:programmer resource:Yuji_Naka }
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/P943> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q726119 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P943 wd:Q726119 }
8