The length operator (#) gets array length, and mapsFolder is not an array. Assuming the list is not going to change (no new or removed maps during runtime), you can use GetChildren() to create an array of maps and keep chosing one randomly.
local maps = mapsFolder:GetChildren()
-- chose a map from the list
local chosenMap = maps[math.random(1, #maps)]:Clone()