Edabit
Challenge 18
Create a function that takes in a nested array and an element and returns the frequency of that element by nested level.