Testing length of JSON array 4