CountLayers
int32 count = CountLayers();
return AddLayer(layer, CountLayers());
int32 CountLayers() const;