How many {has attribute} are for {Zeus} ?
Give me the number of attributes that Zeus has.
How many attributes does Zeus have?
SELECT ( COUNT ( ?q ) AS ?l ) { resource:Zeus property:iconographic_symbol ?q }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q34201> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P4185> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q34201 wdt:P4185 ?obj }
4