A digital instantaneous impulse rate meter for neural activity