Calculated no. of characters and arguments passed in.

fixed the position of cowsay function.