bash check nomor arg

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