How many {head of government} are to/by {Recep Tayyip Erdoğan} ?
How many persons are chief of the government in the {Recep Tayyip Erdoğan} ?
SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P6 wd:Q39259 }
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/P6> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q39259 .
} 

Recep Tayyip Erdogan had how many chief of governments?