How many {mass} are for {Airbus A340} ?
What is the total mass of the Airbus A340?
How many masses does the Airbus A340} has?
SELECT ( COUNT ( ?h ) AS ?b ) { resource:Airbus_A340 property:mass ?h }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q6481> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2067> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q6481 wdt:P2067 ?obj }
3