Post #1837 240 Aug 6, 2020, 10:12 UTC #elixirCount occurrences in elixirhttps://til.hashrocket.com/posts/twhuy7ks5n-count-occurrences-in-elixir Hashrocket Today I Learned: Count Occurrences in Elixir Elixir recently introduced an useful couple of functions to count how many times a value appears in an Enumerable. It comes in two formats: frequencies/1 and frequencies_by/2. Here’s an example: