runscope json check array length