anchor.diff:  partition_count([], [{node, Node}]) ->
       {ok, Ring} = riak_core_ring_manager:get_my_ring(),
       Indices = riak_core_ring:indices(Ring, Node),
  -    Row = [{node, Node}, {partitions, Indices}, {pct, claim_percent(Ring, Node)}],
  +    Row = [[{node, Node}, {partitions, length(Indices)}, {pct, claim_percent(Ring, Node)}]],
       Table = [riak_cli_status:table(Row)],
       riak_cli:print(Table);
   partition_count([], []) ->
  
positive.code:      Text
      ].
  
  partition({id, Id}, []) ->
      out(id, Id);
  partition({index, Index}, []) ->
      out(index, Index).
  
  out(InputType, Number) ->
      {ok, Ring} = riak_core_ring_manager:get_my_ring(),
      RingSize = riak_core_ring:num_partitions(Ring),
      out1(InputType, Number, RingSize).
  
  out1(index, Index, RingSize) ->
      io:format("Partition index: ~p -> id: ~p~n~n", 
                [Index, partition_id_to_hash(Index, RingSize)]);
  out1(id, Id, RingSize) ->
      io:format("Partition id: ~p -> index: ~p~n~n", 
                [Id, hash_to_partition_id(Id, RingSize)]).
  
  %%%
  %% cluster members
  
negative.code:     RingSize = riak_core_ring:num_partitions(Ring),
      {Primary, Secondary, Stopped} = riak_core_status:partitions(Node, Ring),
      io:format("Partitions owned by ~p:~n", [Node]),
      Rows = generate_rows(RingSize, primary, Primary) 
             ++ generate_rows(RingSize, secondary, Secondary)
             ++ generate_rows(RingSize, stopped, Stopped),
      Table = [riak_cli_status:table(Rows)],
      riak_cli:print(Table).
  
  generate_rows(_RingSize, Type, []) ->
      [[{type, Type}, {index, "--"}, {id, "--"}]];
  generate_rows(RingSize, Type, Ids) ->
      %% Build a list of proplists, one for each partition id
      [ 
        [ {type, Type}, {index, I}, 
          {id, hash_to_partition_id(I, RingSize)} ]
      || I <- Ids ].
  
  %%% 
  