Json Path To Array Javascript Length