Log when ESP is being reset

How about it logging 'before' it is being reset. Anyway a counter seems appropriate.