count the number of elements in array `myarray`,len(myArray)