I am trying to figure out how can I reduce something like [[1,2,3],[1,2],[]] to the sum of entries of array. I want to recieve the total number of elements in nested arrays, so the answer to this question would be 5. I don't care about what is in those arrays, just their lengths.
Thanks so much for support!