def Report(self):
    stat = self.whole_app_stats.get(_GLOBAL_KEY, None)
    entity_size = 0
    entity_count = 0
    builtin_index_size = 0
    builtin_index_count = 0
    composite_index_size = 0
    composite_index_count = 0
    if stat:
      entity_size = stat.entity_bytes
      entity_count = stat.count
      builtin_index_size = stat.builtin_index_bytes
      builtin_index_count = stat.builtin_index_count
      composite_index_size = stat.composite_index_bytes
      composite_index_count = stat.composite_index_count

      if not entity_count:
        entity_count = 1

    return ('Scanned %d entities of total %d bytes, %d index entries of total '
            '%d bytes and %d composite index entries of total %d bytes. '
            'Inserted %d new records.'
            % (entity_count, entity_size, builtin_index_count,
               builtin_index_size, composite_index_count, composite_index_size,
               self.written))
Produce a small report about the result.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/datastore/datastore_stats_generator.py/DatastoreStatsProcessor.Report