Hello and welcome to the challenge!
Write a code which counts all elements in the given array and its subarrays (counting subarrays too).
app.count([1,2,[3,4]]) -> 5 (four numbers and one subarray)
- multi-level array
- amount of items - integer number
0 < N < 2000
Have fun and good luck! :)