count=${#alist[*]} echo "The number of items in alist is ${#alist[*]}"