How many {crosses} are to/by {Irrawaddy River} ?
Which of these are the Irrawaddy River crossings.
How many crossings does the Irrawaddy River have?
SELECT ( COUNT ( ?q ) AS ?y ) { ?q property:crosses resource:Irrawaddy_River }
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/P177> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q26076 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P177 wd:Q26076 }
4