input_count_delta addition

make a shared variable to track the input rate so that other bits of
code can get a consistent measure of the transaction rate.