size of map in elixir code example Example: get length of map elixir iex> Enum.count(%{foo: "bar"}) 1