refactored stats for wm and riak-admin