Question: How many diplomatic relations has Nigeria engaged with?
Paraphrase: How many diplomatic relations is Nigeria in?
SPARQL (Wikidata): SELECT (COUNT(?obj) AS ?value ) { wd:Q1033 wdt:P530 ?obj }
Answer: 28