How many {chief executive officer} are for {Walmart} ?
What is the number of CEOs for Walmart?
How many chief executive officers does Walmart have?
SELECT ( COUNT ( ?v ) AS ?z ) { resource:Walmart property:chief_executive_officer ?v }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q483551> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P169> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q483551 wdt:P169 ?obj }
1