How many {relative} are for {Pedro Pablo Kuczynski} ?
How many people are related to Pedro Pablo Kuczynski?
How many relatives does Pedro Pablo Kuczynski have?
SELECT ( COUNT ( ?t ) AS ?n ) { resource:Pedro_Pablo_Kuczynski property:relative ?t }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q381027> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1038> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q381027 wdt:P1038 ?obj }
4