How many {attributed to} are to/by {Aristotle} ?
How many operations are assigned to Aristotle?
How many works are attributed to Aristotle?
SELECT ( COUNT ( ?q ) AS ?a ) { ?q property:P1773 resource:Aristotle }
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/P1773> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q868 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P1773 wd:Q868 }
0