I need to detect the length of an inner array within a 2d array in my application. But unfortunately it always raises a "TypeError: Cannot read property \'length\' of u