Add methods to get size from index/map classes