Check argument length