How many {exemplar of} are to/by {Gospel of John} ?
What makes John's Gospel exemplar?
How is the Gospel of John exemplar?
SELECT ( COUNT ( ?a ) AS ?p ) { ?a property:exemplar_of resource:Gospel_of_John }
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/P1574> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q36766 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P1574 wd:Q36766 }
5