Check Include Array Javascript Length Function In R