${#var}usually is the length in characters ${var}. So ${#1000000000000000000}this is the argument length of 1000000000000000000th for the script. Since your script has not been called with so many arguments, this value is zero.
-, , , . ${#9223372036854775808}, 2 64.