Counting Impusles to SD Card

I am New to Arduino and i want to try to measure the impulses of my electricity meter, it has a dedicated output for the pulse per watt how do i programm that on a uno? I would like to save them on a sd card

Can someone guide me?

Start with the pulse and read from the serial monitor. If it looks good, continue with the SD. Should be simple.