Someone tries to shoot you in complete darkness, you get $1m per miss

The shooter is standing in the middle of a flat field, with no cover. It's pitch black. You can stand anywhere in the field, no further than 40 metres away from the shooter. They have a handgun firing normal bullets, one bullet at a time. They are deaf so can't hear you breathe etc.

You can only wear normal jeans and a t-shirt, but it's a warm night so it's ok you won't freeze to death 🥴. You have to stand upright facing the shooter, no crouching.

You cannot speak or move. You have a silent button you press to indicate you wish to continue. You shout STOP when you want it to end.

Do you take up the challenge? How many shots would you risk before stopping?