how can I know the number of tokens in a bash variable (whitespace-separated tokens) - or at least, wether it is one or there are more.
Not sure if this is exactly what you meant but:
$# = Number of arguments passed to the bash script
$#
Otherwise you might be looking for something like man wc