Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Great!
Have a good time on codewars!
The tests are right. Your code is wrong!
From the description: "When an array in the array is null or empty, the method should return 0 too!"
As you see in this random test, the first array is empty! So the correct answer would be: 0 and not 6