Counting number of the character "a"

Tried first to count the number of the especial danish characters æ, ø
and å, but that did not work, most likely because of encoding ...
I did not resolve the problem with the encoding, merged just to see how I can use GitHub to merge branches.