I am new to programming and I came across a question where I am not able to build its logic. In question, I have to count the number of functions present inside a js