Tell me how to correctly know which elements and how many times they repeat and if there are elements that are not repeated, too, to find out which one of the elements does not repeat ... say if there is such a data set:
["vasa", "peta", "vasa", "serega", "vasa", "andrey", "dima", "dima", "sveta", "oleg", "oleg", "oleg", "oleg", "igor", "vasa", "stas", "stas", "oleg", "serega", "serega", "andrey", "mihail", "volandemort"]