stats: accounting for in-memory index size