How many {open days} are to/by {Sunday} ?
On Sundays, how often are they open?
How many Sundays are they open?
SELECT ( COUNT ( ?m ) AS ?t ) { ?m property:open_days resource:Sunday }
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/P3025> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q132 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P3025 wd:Q132 }
65