Testing length of JSON array 3