[Question]
  [
July 1st is Canada day (yay Canada)! Or is it? It seems that the [Wikipedia](https://en.wikipedia.org/wiki/July_1) page for this day has a lot of Canada related content, but is there another day which is more Canadian?
Your task is to write a program or function which takes a date (month and day) as input and returns or outputs the number of mentions of "Canada" on the Wikipedia page for the inputed date. 
Some rules:
* Dates may be input in any reasonable format of your choice
* Your submission must pull data from the url `en.wikipedia.org/wiki/Month_Day`.
* Only `"Canada"` must be searched for and counted included substrings, and only in title case. `"Canadian"` does not count, however `"Canada's"` does count. As long as the exact, case-senstitive text `"Canada"` exists within a string, it is a match
* Contents of the page are considered anything within the corresponding `.html` file (i.e. what shows up if you download as page as a `.html` and open it in Notepad)
* Result may be output to STDOUT, returned, or displayed in any other reasonable manner
Test Cases:
```
July 1 => 34
May 14 => 1
Oct 31 => 2
July 4 => 2
```
This is code golf, so shortest submission wins
(As an unrewarded bonus, I'm interested to see what the day with the highest count is)
  
[Answer]
# Bash, 43 42 40 bytes
```
curl -L enwp.org/$@|grep -o Canada|wc -l
```
Uses `curl`, `grep`, and `wc` to count occurrences of "Canada" in specified webpage. Like the other answers, input is given in the format `July_1`. This is my first time posting on the Code Golf SE and I'm not quite familiar with all of the rules. Any feedback would be most welcome.
*Didn't realize that output to* `STDERR` *is traditionally ignored. Thanks for the 3 bytes, [Dennis](//codegolf.stackexchange.com/users/12012/dennis)!*
[Answer]
# Perl 5, 39 bytes
38 bytes, plus 1 for `-pe` instead of `-e`
```
$_=()=`curl -L enwp.org/$_`=~/Canada/g
```
Takes input like `July_1`.
Thanks to [busukxuan](/users/49362/busukxuan) for saving me seven bytes.
[Answer]
# Python 3.5, ~~117~~ ~~111~~ ~~98~~ 90 bytes
(*-8 bytes (`98 -> 90`) thanks to [alexwlchan](https://codegolf.stackexchange.com/users/13285/alexwlchan)*)
```
from urllib.request import*
lambda i:urlopen('http://enwp.org/'+i).read().count(b"Canada")
```
Simply uses Python's built-in "urllib" library to fetch HTML data and then counts the occurrences of the word "Canada" in that data. Will try and golf more over time where and when I can. Call it by renaming the `lambda` function to anything and then calling that name like a normal function wrapped in `print()`. For instance, if the function were named `H`, then you would call it like `print(H(Month_Day))`.
[Answer]
# Mathematica, 60 bytes
```
Import["http://enwp.org/"<>#,"Source"]~StringCount~"Canada"&
```
Anonymous function. Similarly to the Perl 5 solution, takes input like `July_1`.
[Answer]
# PowerShell, 52 bytes
```
((iwr enwp.org/$($args[0]))-csplit"Canada").length-1
```
* Input as `July_1`.
* `iwr` is short for `Invoke-WebRequest`.
* `$($args[0])` is first command line argument. Start script as `OhCanada.ps1 July_1`.
* `-csplit` is case sensitive split.
[Answer]
# C#, 85 bytes
```
return Regex.Matches(new WebClient().DownloadString("http://enwp.org/"+d),"Canada").Count;
```
Takes input `d` like `July_1`.
And `July_1` *is* truly Canada Day, having the most references. With `February_1` and `April_23` sharing 2nd place with 18 `"Canada"`s each.
# Find `"Canada"` day (in parallel), 207 bytes:
```
return Enumerable.Range(0,366).Select(i=>new DateTime(8,1,1).AddDays(i).ToString("MMMM_d")).AsParallel().OrderBy(d=>Regex.Matches(new WebClient().DownloadString("http://enwp.org/"+d),"Canada").Count).Last();
```
(Year 8 is the leap year with the shortest representation). Potentially inefficient, in that the `OrderBy` probably generates >366 web calls, but just going for shorter and appears to complete in not much more time.
[Answer]
# Pyth, 31 bytes
```
/jk'+"http://enwp.org/"z"Canada
```
Does not work on the online implementation, the server disables Internet access. I wanted to use <http://wki.pe/July_1> but sadly it's a client-side redirect so it fetches the wrong page. The input format is `July_1`.
The code is basically just:
```
"".join(open("http://enwp.org/"+input())).count("Canada")
```
[Answer]
# R, 99 96 bytes
x=function(d){p=readLines(paste0("<http://enwp.org/>",d));sum(nchar(p)-nchar(gsub("Canada","",p)))/6}
```
d=scan(,"");p=readLines(paste0("http://enwp.org/",d));sum(nchar(p)-nchar(gsub("Canada","",p)))/6
```
This takes input d in the form "July\_1" and returns the count of Canadas. It counts the words by counting the number of characters on the page, then removes the word Canada from the page and counts the characters again. The number of times Canada shows up is the difference in these counts divided by the number of letters in Canada, 6. 
edit: I appreciate the tip below about replacing my function with scan. 
[Answer]
# ES6, 89 bytes
```
d=>fetch('http://enwp.org/'+d).then(r=>r.text().then(t=>alert(t.split`Canada`.length-1)))
```
Sadly Unwrapping all the promises penalises the size :/
[Answer]
# Clojure, 71 bytes
```
#(count(re-seq #"Canada"(slurp(str"https://en.wikipedia.org/wiki/"%))))
```
Yeah, it would be nice to use `http://enwp.org` but I guess `slurp` does not handle redirects(?). Anonymous function which take day in the format "July\_1".
[Answer]
# Ruby + curl, 44 bytes
```
p`curl -L enwp.org/#$_`.scan(/Canada/).size
```
`ruby -n` + 43 bytes. Takes input like `July_1`.
[Answer]
# PHP, 65 bytes
```
echo substr_count(file_get_contents('http://enwp.org'),'Canada');
```
]