SELECT DISTINCT COUNT(?uri) WHERE { ?x <http://dbpedia.org/property/battles> <http://dbpedia.org/resource/Levant> . ?x <http://dbpedia.org/property/battles> ?uri }
Count the total number of battles fought by the military people which fought in Levant?
SELECT DISTINCT COUNT ( ?p ) WHERE { ?v property:battles resource:Levant . ?v property:battles ?p }
8
There are [8] battles of the people whose one battle is in Levant.
There are [8] battles, one of which takes place in the Levant.