Finding the Length of a JavaScript Array: Example of Counting