How to get array count?

Easiest way is to add a # in front of the table name. # returns the length of a variable, in a table that will be the entries.

testArray = {“a”, “b”, “c”, “d”, 1, 2, 3, 4}
print(#testArray)

will print 8