Question: How many military branches are for the {James Stewart} ?
Paraphrase: What is the number of military branches for James Stewart?
SPARQL (Wikidata): SELECT (COUNT(?obj) AS ?value ) { wd:Q102462 wdt:P241 ?obj }
Answer: 4