Added some erlang:statistics/1 metrics and fixed rpc calls