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