How many {place of birth} are to/by {Andhra Pradesh} ?
How many people born in the {Andhra Pradesh} ?
SELECT ( COUNT ( ?n ) AS ?t ) { ?n property:place_of_birth resource:Andhra_Pradesh }
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/P19> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q1159 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P19 wd:Q1159 }
230