Numer argumentu Bash Check

#For one argument 
if [ "$#" -ne 1 ]; then
    echo "Illegal number of parameters"
fi
Its me