How many {said to be the same as} are to/by {Satan} ?
Has anyone claimed to be the likes of Satan?
Who has said to be the same as Satan?
SELECT ( COUNT ( ?g ) AS ?h ) { ?g property:said_to_be_the_same_as resource:Satan }
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/P460> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q35230 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P460 wd:Q35230 }
5