How many {month of the year} are to/by {January} ?
What number that represents the month of January?
What numeric number is the month of January in the year?
SELECT ( COUNT ( ?e ) AS ?c ) { ?e property:month_of_the_year resource:January }
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/P2922> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q108 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P2922 wd:Q108 }
131