How many {art-name} are for {Kang Youwei} ?
What are Kang Youwei's other names?
How many names are there for Kang Youwei?
SELECT ( COUNT ( ?l ) AS ?k ) { resource:Kang_Youwei property:art-name ?l }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q360135> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1787> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q360135 wdt:P1787 ?obj }
7