Electric pulse meter to calcualte energy usage