How many {input method} are to/by {computer keyboard} ?
A computer keyboard has how many input options?
How many input methods are on a computer keyboard?
SELECT ( COUNT ( ?r ) AS ?x ) { ?r property:input_method resource:computer_keyboard }
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/P479> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q250 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P479 wd:Q250 }
3711