bash get number arguments code example Example: bash count number of arguments The number of arguments is $#