counting pulses

is there a way to count pulses from a battery with only an arduino uno from battery to switch from switch to arduino and then back to battery is that possible

That sentence is unintellible.

Please read the how to post thread(s) and take time to explain clearly.

Yes, maybe I am not sure, you best clarify what you are asking and maybe put in a step by step format. At this point I have no clue as to what you are asking.

@hendrik_pauly's probable cross-post in the Nederlands board: