https://videosashka.com/watch/3ZeDaP2PTCU/javascript-count-duplicates-in-an-array