How many {residence} are to/by {Yekaterinburg} ?
How many residents are in Yekaterinburg?
SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P551 wd:Q887 }
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/P551> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q887 .
} 

Tell me the number of residents that are in Yekaterinburg.