how to calculate number of passed arguments code example Example: bash count number of arguments The number of arguments is $#