How many {sport} are for {Jim Thorpe} ?
Jim Thorpe played how many sports?
How many sports are for Jim Thorpe?
SELECT ( COUNT ( ?y ) AS ?o ) { resource:Jim_Thorpe property:sport ?y }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q221482> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P641> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q221482 wdt:P641 ?obj }
4