How many {astronaut mission} are for {Yury Romanenko} ?
Yuri Romanenko has done several flights How many?
How many space missions did Yury Romanenko complete?
SELECT ( COUNT ( ?n ) AS ?k ) { resource:Yury_Romanenko property:astronaut_mission ?n }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q446720> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P450> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q446720 wdt:P450 ?obj }
5