Use argument count instead of all arguments shell variable