Javascript Array count(letter)
Array.prototype.count = function (letter) { return this.filter(l => l === letter).length }