`frequencies = [0, 1, 1, 1]` would mean that there is 1 singleton, 1 doubleton, and 1 tripleton.