Given a list, write a function to calculate it's depth. Assume a normal list has a depth of 1.
depth([1, 2, 3, 4]) ➞ 1 depth([1, [2, 3, 4]]) ➞ 2 depth([1, [2, [3, 4]]]) ➞ 3 depth([1, [2, [3, [4]]]]) ➞ 4
N/A