resources_size and annotations_size added to index