How many {conflict} are to/by {Korean War} ?
How many conflicts were in the Korean War?
SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P607 wd:Q8663 }
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/P607> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q8663 .
} 

What number of contentions were in the Korean war?