In this challenge you will receive an input of the form:
[[[[[[[[[[[]]]]]]]]]]]
In other words, a list containing a list containing a list containing... a list containing nothing.
Your goal is to measure the depth of this list, where [] has a depth 1, [[]] has depth of 2, [[[]]] has depth 3, etc.
measure_the_depth([]) ➞ 1
measure_the_depth([[]]) ➞ 2
measure_the_depth([[[]]]) ➞ 3
measure_the_depth([[[[[[[[[[[]]]]]]]]]]]) ➞ 11
One way to solve this is with recursion; but maybe there's a way to "count the brackets"?