output size of index