bash find number of parameters in c++ functions code example Example: bash count number of arguments The number of arguments is $#