PREFIX : SELECT (count(distinct *) AS ?count) { ?x :p ?p .}