How many {cause of destruction} are to/by {September 11 attacks} ?
In regards to the September 11th attacks, how many causes of destruction are similar?
How many causes of destruction are like the September 11 attacks?
SELECT ( COUNT ( ?t ) AS ?j ) { ?t property:cause_of_destruction resource:September_11_attacks }
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/P770> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q10806 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P770 wd:Q10806 }
4