I am trying to extract the number of goals from the retrieved json data shown in my appsscript log below:
apps script log
the appscript code i have used is: