Push Json Into Array Javascript Length Function Matlab Simulink