Andy: Added a macro that plots the number of pulses per block