How do I sum the identical values in a multidimensional array? e.g If I have an array
[4,5,6], [7,8,9]], [[6,5,4], [4,7,2], [8,9,1]], [[