merge tx_cnt code from ronnie
drwxr-xr-x - ctdb