Implement transaction counter for dock