Updated erlang metrics with more efficient process count method