Naive distributed PN counter rewritten from Elixir to Erlang