How To Use Json Array Javascript Length Function