Implemented SpriteList.getLength().