anchor.diff:      BinBucket = ?l2b(Bucket),
   
       DDocIdList = capi_utils:fetch_ddoc_ids(BinBucket),
  -    ViewStats = collect_view_stats(BinBucket, DDocIdList, MinFileSize),
  +    ViewStats = collect_view_stats(mapreduce_view, BinBucket, DDocIdList, MinFileSize),
       {ViewsDiskSize, ViewsDataSize} = aggregate_view_stats_loop(0, 0, ViewStats),
  +
  +    SpatialStats = collect_view_stats(spatial_view, BinBucket, DDocIdList, MinFileSize),
  +    {SpatialDiskSize, SpatialDataSize} = aggregate_view_stats_loop(0, 0, SpatialStats),
   
       {ok, CouchDir} = ns_storage_conf:this_node_dbdir(),
       {ok, ViewRoot} = ns_storage_conf:this_node_ixdir(),
  
positive.code:     [{_, CouchStats}] = ets:lookup(server(Bucket), stuff),
      {ok, CouchStats}.
  
  views_collection_loop_iteration(BinBucket, NameToStatsETS,  DDocId, MinFileSize) ->
      case (catch couch_set_view:get_group_data_size(
                    mapreduce_view, BinBucket, DDocId)) of
          {ok, PList} ->
              {_, Signature} = lists:keyfind(signature, 1, PList),
              case ets:lookup(NameToStatsETS, Signature) of
  
negative.code:                                 couch_views_actual_disk_size,
                                  couch_views_disk_size,
                                  couch_views_data_size,
                                  couch_spatial_disk_size,
                                  couch_spatial_data_size,
                                  views_per_ddoc_stats :: [per_ddoc_stats()],
                                  spatial_per_ddoc_stats :: [per_ddoc_stats()]}).
  
  
  %% API
  