demo utility: count total txns.