JavaScript: Counting Same Occurrences in an Array | Monkey Raptor V.2

JavaScript: Counting Same Occurrences in an Array | Monkey Raptor V.2