How many {head of state} are for {Georgia} ?
In the country of Georgia, what number of persons are state's heads.
How many persons are state head in  {Georgia} ?
SELECT ( COUNT ( ?b ) AS ?q ) { resource:Georgia property:head_of_state ?b }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q230> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P35> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q230 wdt:P35 ?obj }
1