How many {encoded by} are for {L-Threonine} ?
For L-Threonine, how many encodes are there?
How many encode for L-Threonine?
SELECT ( COUNT ( ?o ) AS ?p ) { resource:L-Threonine property:encoded_by ?o }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q186521> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P702> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q186521 wdt:P702 ?obj }
4