if we are in the middle of a pulse add it to the total