Write a function that receives an array and a string and returns the number of times the string appear in the array, but this array can also have nested arrays.
Sigiloso
With JS you write a function and use recursion every time an element is an array.