How many {lake inflows} are for {Lake Baikal} ?
Lake Baikal has now many lakes flowng into it?
how many lakes run to lake baikal?
SELECT ( COUNT ( ?a ) AS ?s ) { resource:Lake_Baikal property:inflows ?a }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q5513> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P200> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q5513 wdt:P200 ?obj }
21