Sub GetTileMapSize(tilemap, ByRef widthInTiles, ByRef heightInTiles)
Gets the size of a tile map
Related:
CreateTileMap
SetTileMapSize