how to check number of arguements in bash script code example Example: bash count number of arguments The number of arguments is $#