Counting Elements Using Maps in JavaScript | CodeSignal Learn