for arg in $*
do
    if [ "$arg" != "" ]
    then
        echo "Argument: $arg"
    fi
done

echo "Liczba argumentw: $#"
