Details
Arbitrary expressions other than lists are supports as elements. In other words, {"An", "element is anything", "that can be in", {"a", list}, "such as numbers:", 1, 2, "strings or variables like", x, "."}
The length of a flattened list is the total number of elements.
ResourceFunction["SchroederSublistByRank"] only supports simple sublists. {1,1}, {1,{1}}, {{1},1} and {{1},{1}} are simple order-2 nested sublist structures. Elements of the form {}, {{1}} are forbidden in a simple sublist. The elements can be changed: {a,a}, {a,{a}}, {{a},a} and {{a},{a}}.
The function
2n Hypergeometric2F1[
-n,
n+1,2,-1] or 1, 4, 24, 176, 1440, 12608, 115584, … (
A156017) enumerates the number of simple nested sublists. Nested sublists have a 1-to-1 correspondence with 2-rise 2-color Schroeder paths, hence the term Schroeder rank. Giving a rank larger than this limit results in a
$Failed output.
In a list structure, braces must be balanced. Double commas and hanging commas are disallowed. {,1,2} has a hanging comma at the start and {1,2,} has a hanging comma at the end. A list contains elements and balanced braces.